half_caster< half, U, R > Struct Template Reference

Static Public Member Functions

static half cast (U arg)
 

Static Private Member Functions

static half cast_impl (U arg, true_type)
 
static half cast_impl (U arg, false_type)
 

Detailed Description

template<typename U, std::float_round_style R>
struct half_float::detail::half_caster< half, U, R >

Definition at line 2292 of file half.hpp.

Member Function Documentation

◆ cast()

static half cast ( arg)
inlinestatic

Definition at line 2298 of file half.hpp.

◆ cast_impl() [1/2]

static half cast_impl ( arg,
false_type   
)
inlinestaticprivate

Definition at line 2302 of file half.hpp.

◆ cast_impl() [2/2]

static half cast_impl ( arg,
true_type   
)
inlinestaticprivate

Definition at line 2301 of file half.hpp.


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