Compartilhar via


treat_as_floating_point Structure

 

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.

Syntax

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

Remarks

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.

Requirements

Header: chrono

Namespace: std::chrono

See Also

Header Files Reference
<chrono>