werkzeugkiste/config/casts.h file

Contents

Namespaces

namespace werkzeugkiste
namespace werkzeugkiste::config
Utilities to handle configurations in a unified manner via the werkzeugkiste::config::Configuration class.
namespace werkzeugkiste::config::detail
Internal implementation namespace.

Classes

template<class A, class B>
struct werkzeugkiste::config::are_integral
Checks whether both types are integral.
template<class A, class B>
struct werkzeugkiste::config::are_floating_point
Checks whether both types are floating point types.

Defines

#define WZK_CASTS_THROW_OVERFLOW(EXC, SRC, TGT, VAL)
#define WZK_CASTS_THROW_UNDERFLOW(EXC, SRC, TGT, VAL)
#define WZK_CASTS_THROW_NOT_REPRESENTABLE(EXC, SRC, TGT, VAL)