template<class Rep1, class Period, class Rep2> constexpr duration<common_type_t<Rep1, Rep2>, Period> operator*(const duration<Rep1, Period>& d, const Rep2& s);
-4- Remarks: This operator shall not participate in overload resolution unless
[…]is_convertible_v<const Rep2&, common_type_t<Rep1, Rep2>>
istrue
Rep2
is implicitly convertible tocommon_type_t<Rep1, Rep2>
.
template<class Rep1, class Rep2, class Period> constexpr duration<common_type_t<Rep1, Rep2>, Period> operator*(const Rep1& s, const duration<Rep2, Period>& d);
-6- Remarks: This operator shall not participate in overload resolution unless
[…]is_convertible_v<const Rep1&, common_type_t<Rep1, Rep2>>
istrue
Rep1
is implicitly convertible tocommon_type_t<Rep1, Rep2>
.
template<class Rep1, class Period, class Rep2> constexpr duration<common_type_t<Rep1, Rep2>, Period> operator/(const duration<Rep1, Period>& d, const Rep2& s);
[…]-8- Remarks: This operator shall not participate in overload resolution unless
is_convertible_v<const Rep2&, common_type_t<Rep1, Rep2>>
istrue
Rep2
is implicitly convertible tocommon_type_t<Rep1, Rep2>
andRep2
is not a specialization ofduration
.
template<class Rep1, class Period, class Rep2> constexpr duration<common_type_t<Rep1, Rep2>, Period> operator%(const duration<Rep1, Period>& d, const Rep2& s);
-11- Remarks: This operator shall not participate in overload resolution unless
[…]is_convertible_v<const Rep2&, common_type_t<Rep1, Rep2>>
istrue
Rep2
is implicitly convertible tocommon_type_t<Rep1, Rep2>
andRep2
is not a specialization ofduration
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4