Commit dbb45bf9 by Paolo Carlini Committed by Paolo Carlini

chrono (operator*(const _Rep1&, const duration<>&)): Fix order of template parameters per LWG 2004.

2011-08-31  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/std/chrono (operator*(const _Rep1&, const duration<>&)):
	Fix order of template parameters per LWG 2004.

From-SVN: r178374
parent 24c34107
2011-08-31 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/chrono (operator*(const _Rep1&, const duration<>&)):
Fix order of template parameters per LWG 2004.
2011-08-30 Paolo Carlini <paolo.carlini@oracle.com> 2011-08-30 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_iterator.h (make_move_iterator): Implement DR2061. * include/bits/stl_iterator.h (make_move_iterator): Implement DR2061.
......
...@@ -395,7 +395,7 @@ _GLIBCXX_END_NAMESPACE_VERSION ...@@ -395,7 +395,7 @@ _GLIBCXX_END_NAMESPACE_VERSION
return __cd(__cd(__d).count() * __s); return __cd(__cd(__d).count() * __s);
} }
template<typename _Rep1, typename _Period, typename _Rep2> template<typename _Rep1, typename _Rep2, typename _Period>
constexpr constexpr
duration<typename __common_rep_type<_Rep2, _Rep1>::type, _Period> duration<typename __common_rep_type<_Rep2, _Rep1>::type, _Period>
operator*(const _Rep1& __s, const duration<_Rep2, _Period>& __d) operator*(const _Rep1& __s, const duration<_Rep2, _Period>& __d)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment