2011-08-31 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Aug 2011 10:29:31 +0000 (10:29 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Aug 2011 10:29:31 +0000 (10:29 +0000)
* include/std/chrono (operator*(const _Rep1&, const duration<>&)):
Fix order of template parameters per LWG 2004.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178374 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/std/chrono

index dac7983..9fc043d 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        * include/bits/stl_iterator.h (make_move_iterator): Implement DR2061.
index 4d2241a..6a087f5 100644 (file)
@@ -395,7 +395,7 @@ _GLIBCXX_END_NAMESPACE_VERSION
        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)