Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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