sanisizer
Sanitize sizes to avoid integer overflow
Loading...
Searching...
No Matches
sanisizer.hpp
Go to the documentation of this file.
1#ifndef SANISIZER_HPP
2#define SANISIZER_HPP
3
4#include "cast.hpp"
5#include "sum.hpp"
6#include "product.hpp"
7#include "Bounded.hpp"
8#include "Constant.hpp"
9#include "comparisons.hpp"
10#include "create.hpp"
11#include "nd_offset.hpp"
12#include "cap.hpp"
13#include "ptrdiff.hpp"
14#include "float.hpp"
15#include "class.hpp"
16
26namespace sanisizer {}
27
28#endif
Specify compile-time bounds on integers.
Specify a constant integer.
Cap a value at the largest size.
Safe casts of integer size.
Wrapper classes for integer casting.
Signedness-safe integer comparisons.
Safely create and resize containers.
Cast floats to/from integer sizes.
Sanitize sizes to avoid integer overflow.
Definition Bounded.hpp:15
Offsets for accessing N-dimensional arrays.
Safe product of integer sizes.
Safe pointer differences.
Safe sum of integer sizes.