treat_as_floating_point Structure

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Specifies whether Rep can be treated as a floating-point type.

template <class Rep>  
struct treat_as_floating_point : is_floating_point<Rep>;  

Rep can be treated as a floating-point type only when the specialization treat_as_floating_point<Rep> is derived from true_type. The template class can be specialized for a user-defined type.

Header: chrono

Namespace: std::chrono

Header Files Reference
<chrono>

Show: