![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <compare>#include <concepts>#include <exception>#include <ostream>#include <limits>#include <optional>#include <type_traits>Go to the source code of this file.
Classes | |
| class | nix::checked::DivideByZero |
| struct | nix::checked::Checked< T > |
| class | nix::checked::Checked< T >::Result |
Functions | |
| template<std::integral T> | |
| std::ostream & | nix::checked::operator<< (std::ostream &ios, Checked< T > v) |
Checked arithmetic with classes that make it hard to accidentally make something an unchecked operation.