template<class _Rep, class _Period>
template<class _Rep, class _Period>
template<class _Rep, class _Period>
template<class _Rep, class _Period>
92 static_assert(_Is_ratio<_Period>::value,
93 "period must be an instance of std::ratio");
94 static_assert(0 < _Period::num,
95 "duration negative or zero");
_Rep _MyRep
Definition: chrono:217
template<class _Rep, class _Period>
template<class _Rep2 , class = typename enable_if<is_convertible<_Rep2, _Rep>::value && (treat_as_floating_point<_Rep>::value || !treat_as_floating_point<_Rep2>::value), void>::type>
106 static_assert(_Is_ratio<_Period>::value,
107 "period not an instance of std::ratio");
108 static_assert(0 < _Period::num,
109 "duration negative or zero");
_Rep _MyRep
Definition: chrono:217
_FwdIt const _Ty _Val
Definition: algorithm:1938
template<class _Rep, class _Period>
template<class _Rep2 , class _Period2 , class = typename enable_if<treat_as_floating_point<_Rep>::value || (ratio_divide<_Period2, _Period>::den == 1 && !treat_as_floating_point<_Rep2>::value), void>::type>
123 static_assert(_Is_ratio<_Period>::value,
124 "period not an instance of std::ratio");
125 static_assert(0 < _Period::num,
126 "duration negative or zero");
_Rep _MyRep
Definition: chrono:217
typename _Ratio_divide< _R1, _R2 >::type ratio_divide
Definition: ratio:242
_Rep count() const
Definition: chrono:129
template<class _Rep, class _Period>
_Rep _MyRep
Definition: chrono:217
template<class _Rep, class _Period>
#define max(a, b)
Definition: minmax.h:19
duration< _Rep, _Period > _Myt
Definition: chrono:85
template<class _Rep, class _Period>
#define min(a, b)
Definition: minmax.h:23
duration< _Rep, _Period > _Myt
Definition: chrono:85
template<class _Rep, class _Period>
_Rep _MyRep
Definition: chrono:217
const _Ty & _Right
Definition: algorithm:4087
template<class _Rep, class _Period>
_Rep _MyRep
Definition: chrono:217
const _Ty & _Right
Definition: algorithm:4087
template<class _Rep, class _Period>
_Rep _MyRep
Definition: chrono:217
const _Ty & _Right
Definition: algorithm:4087
template<class _Rep, class _Period>
template<class _Rep, class _Period>
_Rep _MyRep
Definition: chrono:217
template<class _Rep, class _Period>
duration< _Rep, _Period > _Myt
Definition: chrono:85
_Rep _MyRep
Definition: chrono:217
template<class _Rep, class _Period>
_Rep _MyRep
Definition: chrono:217
const _Ty & _Right
Definition: algorithm:4087
template<class _Rep, class _Period>
duration< _Rep, _Period > _Myt
Definition: chrono:85
_Rep _MyRep
Definition: chrono:217
template<class _Rep, class _Period>
_Rep _MyRep
Definition: chrono:217
template<class _Rep, class _Period>
duration< _Rep, _Period > _Myt
Definition: chrono:85
_Rep _MyRep
Definition: chrono:217
template<class _Rep, class _Period>
_Rep _MyRep
Definition: chrono:217
const _Ty & _Right
Definition: algorithm:4087
template<class _Rep, class _Period>
_Rep _MyRep
Definition: chrono:217
const _Ty & _Right
Definition: algorithm:4087
template<class _Rep, class _Period>
204 return (
_Myt(duration_values<_Rep>::zero()));
duration< _Rep, _Period > _Myt
Definition: chrono:85
template<class _Rep, class _Period>
The documentation for this class was generated from the following file: