sanisizer
Sanitize sizes to avoid integer overflow
Loading...
Searching...
No Matches
generics.hpp File Reference

Generics for operating on integer representations. More...

#include <limits>
#include <type_traits>
#include "Bounded.hpp"
#include "Constant.hpp"

Go to the source code of this file.

Namespaces

namespace  sanisizer
 Sanitize sizes to avoid integer overflow.
 

Functions

template<typename Value_ >
constexpr auto sanisizer::get_value (const Value_ x)
 
template<typename Value_ >
constexpr auto sanisizer::get_max ()
 

Detailed Description

Generics for operating on integer representations.