Share via


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>;

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

Reference

<chrono>

Other Resources

C++ Standard Library Header Files