A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.github.io/LWG/issue1177 below:

Issue 1177: Improve "diagnostic required" wording

template <class Rep1, class Period, class Rep2> 
  duration<typename common_type<Rep1, Rep2>::type, Period> 
  operator*(const duration<Rep1, Period>& d, const Rep2& s);

Requires Remarks: This operator shall not participate in overload resolution unlessRep2 shall be is implicitly convertible to CR(Rep1, Rep2). Diagnostic required.

template <class Rep1, class Period, class Rep2> 
  duration<typename common_type<Rep1, Rep2>::type, Period> 
  operator*(const Rep1& s, const duration<Rep2, Period>& d);

Requires Remarks: This operator shall not participate in overload resolution unlessRep1 shall be is implicitly convertible to CR(Rep1, Rep2). Diagnostic required.

template <class Rep1, class Period, class Rep2> 
  duration<typename common_type<Rep1, Rep2>::type, Period> 
  operator/(const duration<Rep1, Period>& d, const Rep2& s);

Requires Remarks: This operator shall not participate in overload resolution unlessRep2 shall be is implicitly convertible to CR(Rep1, Rep2) and Rep2 shall not be is not an instantiation of duration. Diagnostic required.

template <class Rep1, class Period, class Rep2> 
  duration<typename common_type<Rep1, Rep2>::type, Period> 
  operator%(const duration<Rep1, Period>& d, const Rep2& s);

Requires Remarks: This operator shall not participate in overload resolution unlessRep2 shall be is implicitly convertible to CR(Rep1, Rep2) and Rep2 shall not be is not an instantiation of duration. Diagnostic required.


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