CNL  2.0.2 (development)
Compositional Numeric Library
cnl::convert< DestTag, Dest, SrcTag > Struct Template Reference

converts a value from one type to another More...

#include <cnl/all.h>

Detailed Description

template<tag DestTag, typename Dest, tag SrcTag = _impl::native_tag>
struct cnl::convert< DestTag, Dest, SrcTag >

converts a value from one type to another

Template Parameters
DestTagspecifies the destination behavior tag, e.g. native_overflow_tag
Destspecifies the destination type
SrcTagspecifies the source behavior tag, e.g. native_overflow_tag
See also
native_overflow_tag, saturated_overflow_tag, throwing_overflow_tag, trapping_overflow_tag, undefined_overflow_tag, nearest_rounding_tag