Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

std::chrono::treat_as_floating_point< _Rep >

Author

       Generated automatically by Doxygen for libstdc++ from the source code.

                                                    libstdc++ std::chrono::treat_as_floating_point<_Rep>(3cxx)

Detailed Description

template<typename_Rep>
       struct std::chrono::treat_as_floating_point< _Rep >"Trait indicating whether to treat a type as a
       floating-point type.

       The chrono library uses this trait to tell whether a duration can represent fractional values of the
       given precision, or only integral values.

       You should specialize this trait for your own numeric types that are used with duration and can represent
       non-integral values.

       Since
           C++11

Name

       std::chrono::treat_as_floating_point< _Rep >

Synopsis

       #include <chrono>

       Inherits std::is_floating_point<_Rep>.

See Also