treat_as_floating_point Structure


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at treat_as_floating_point Structure.

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