half_caster< T, U, R > Struct Template Reference#
half_float::detail::half_caster< T, U, R > Struct Template Reference
Helper class for half casts. More...
#include <half.hpp>
Inherited by half_float::detail::half_caster< half, expr, R >.
Detailed Description
template<typename T, typename U, std::float_round_style R = (std::float_round_style)( -1 )>
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
-
T destination type U source type R rounding mode to use
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-half/checkouts/latest/include/half.hpp