|
Sen API
Sen Libraries
|
#include "sen/core/base/assert.h"#include "sen/core/base/integer_compare.h"#include "sen/core/base/numbers.h"#include <cassert>#include <cmath>#include <iostream>#include <limits>#include <string>#include <string_view>#include <tuple>#include <type_traits>Go to the source code of this file.
Classes | |
| struct | sen::std_util::ReportPolicyAssertion |
| struct | sen::std_util::ReportPolicyTrace |
| struct | sen::std_util::ReportPolicyLog |
| struct | sen::std_util::ReportPolicyIgnore |
Namespaces | |
| namespace | sen |
| namespace | sen::std_util |
| namespace | sen::std_util::impl |
Functions | |
| template<typename ToType, typename FromType, typename ReportPolicy = ReportPolicyIgnore> | |
| ToType | sen::std_util::impl::conversionImpl (FromType from) |
Safely convert between two different integral types. If the value stored in from cannot be represented in ToType, the value is truncated. | |
| template<typename ToType, typename ReportPolicy = ReportPolicyAssertion, typename FromType> | |
| ToType | sen::std_util::checkedConversion (FromType from) |
Safely convert between two different integral types. If the value stored in from cannot be represented in ToType, the value is truncated. | |
| template<typename ToType, typename ReportPolicy = ReportPolicyIgnore, typename FromType> | |
| ToType | sen::std_util::ignoredLossyConversion (FromType from) |
Safely convert between two different integral types. If the value stored in from cannot be represented in ToType, the value is truncated. | |