![]() |
VCCC
2024.05
VisualCamp Common C++ library
|
#include <limits>
#include <type_traits>
#include "vccc/__type_traits/bool_constant.hpp"
#include "vccc/__type_traits/conjunction.hpp"
Go to the source code of this file.
Namespaces | |
vccc | |
Functions | |
template<typename To , typename From , std::enable_if_t< conjunction< std::is_integral< To >, std::is_integral< From >>::value, int > = 0> | |
constexpr To | saturate_cast (From x) noexcept |