Qrack  9.0
General classical-emulating-quantum development framework
half_float::detail::half_caster< T, U, R > Struct Template Reference

Helper class for half casts. More...

#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 arguments 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

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