Hi,
tested x86_64-linux, committed to mainline.
Paolo.
///////////////////
2011-08-31 Paolo Carlini <[email protected]>
* include/std/chrono (operator*(const _Rep1&, const duration<>&)):
Fix order of template parameters per LWG 2004.
Index: include/std/chrono
===================================================================
--- include/std/chrono (revision 178363)
+++ include/std/chrono (working copy)
@@ -395,7 +395,7 @@
return __cd(__cd(__d).count() * __s);
}
- template<typename _Rep1, typename _Period, typename _Rep2>
+ template<typename _Rep1, typename _Rep2, typename _Period>
constexpr
duration<typename __common_rep_type<_Rep2, _Rep1>::type, _Period>
operator*(const _Rep1& __s, const duration<_Rep2, _Period>& __d)