GADGET-4
half_caster< T, U, R > Struct Template Reference

#include <half.hpp>

Detailed Description

template<typename T, typename U, std::float_round_style R = (std::float_round_style)(HALF_ROUND_STYLE)>
struct half_float::detail::half_caster< T, U, R >

Helper class for half casts. This class template has to be specialized for all valid cast argument to define an appropriate static cast member function and a corresponding type member denoting its return type.

Template Parameters
Tdestination type
Usource type
Rrounding mode to use

Definition at line 2405 of file half.hpp.


The documentation for this struct was generated from the following file: