include/std/chrono: Collapse redundant 'inline' from 'inline constexpr'.
authorEd Smith-Rowland <3dw4rd@verizon.net>
Sat, 1 Jun 2013 21:39:50 +0000 (21:39 +0000)
committerEdward Smith-Rowland <emsr@gcc.gnu.org>
Sat, 1 Jun 2013 21:39:50 +0000 (21:39 +0000)
2013-06-01  Ed Smith-Rowland  <3dw4rd@verizon.net>

include/std/chrono: Collapse redundant 'inline' from 'inline constexpr'.
include/std/tuple: Ditto.
include/bits/move.h: Ditto.

From-SVN: r199587

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/move.h
libstdc++-v3/include/std/chrono
libstdc++-v3/include/std/tuple

index 2ec47f74224ebae92d61b8690cfb20597c1cebd1..2350efe125734f69cc6d57b58cae9dd8354f203f 100644 (file)
@@ -1,3 +1,9 @@
+2013-06-01  Ed Smith-Rowland  <3dw4rd@verizon.net>
+
+       include/std/chrono: Collapse redundant 'inline' from 'inline constexpr'.
+       include/std/tuple: Ditto.
+       include/bits/move.h: Ditto.
+
 2013-05-30  Ed Smith-Rowland  <3dw4rd@verizon.net>
 
        Implement N3642 - User-defined Literals for Standard Library Types
index fb6c61fcc0a321deedb088d6773991be0e699186..d54edcd416897497e8a030860baf41c60ed0ba1c 100644 (file)
@@ -116,7 +116,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
    *  type is copyable, in which case an lvalue-reference is returned instead.
    */
   template<typename _Tp>
-    inline constexpr typename
+    constexpr typename
     conditional<__move_if_noexcept_cond<_Tp>::value, const _Tp&, _Tp&&>::type
     move_if_noexcept(_Tp& __x) noexcept
     { return std::move(__x); }
index f4c4ef017e6c5d3077a4b36614eef1eb92d7634a..7a574a62894cf964c235049f1c86a1d810e94314 100644 (file)
@@ -819,12 +819,12 @@ inline namespace chrono_literals {
 
   } // __detail
 
-  inline constexpr chrono::duration<long double, ratio<3600,1>>
+  constexpr chrono::duration<long double, ratio<3600,1>>
   operator"" h(long double __hours)
   { return chrono::duration<long double, ratio<3600,1>>{__hours}; }
 
   template <char... _Digits>
-    inline constexpr typename
+    constexpr typename
     __detail::_Select_type<__select_int::_Select_int<_Digits...>::value,
                           chrono::hours>::type
     operator"" h()
@@ -834,12 +834,12 @@ inline namespace chrono_literals {
                        chrono::hours>::value;
     }
 
-  inline constexpr chrono::duration<long double, ratio<60,1>>
+  constexpr chrono::duration<long double, ratio<60,1>>
   operator"" min(long double __mins)
   { return chrono::duration<long double, ratio<60,1>>{__mins}; }
 
   template <char... _Digits>
-    inline constexpr typename
+    constexpr typename
     __detail::_Select_type<__select_int::_Select_int<_Digits...>::value,
                           chrono::minutes>::type
     operator"" min()
@@ -849,12 +849,12 @@ inline namespace chrono_literals {
                        chrono::minutes>::value;
     }
 
-  inline constexpr chrono::duration<long double>
+  constexpr chrono::duration<long double>
   operator"" s(long double __secs)
   { return chrono::duration<long double>{__secs}; }
 
   template <char... _Digits>
-    inline constexpr typename
+    constexpr typename
     __detail::_Select_type<__select_int::_Select_int<_Digits...>::value,
                           chrono::seconds>::type
     operator"" s()
@@ -864,12 +864,12 @@ inline namespace chrono_literals {
                        chrono::seconds>::value;
     }
 
-  inline constexpr chrono::duration<long double, milli>
+  constexpr chrono::duration<long double, milli>
   operator"" ms(long double __msecs)
   { return chrono::duration<long double, milli>{__msecs}; }
 
   template <char... _Digits>
-    inline constexpr typename
+    constexpr typename
     __detail::_Select_type<__select_int::_Select_int<_Digits...>::value,
                           chrono::milliseconds>::type
     operator"" ms()
@@ -879,12 +879,12 @@ inline namespace chrono_literals {
                        chrono::milliseconds>::value;
     }
 
-  inline constexpr chrono::duration<long double, micro>
+  constexpr chrono::duration<long double, micro>
   operator"" us(long double __usecs)
   { return chrono::duration<long double, micro>{__usecs}; }
 
   template <char... _Digits>
-    inline constexpr typename
+    constexpr typename
     __detail::_Select_type<__select_int::_Select_int<_Digits...>::value,
                           chrono::microseconds>::type
     operator"" us()
@@ -894,12 +894,12 @@ inline namespace chrono_literals {
                        chrono::microseconds>::value;
     }
 
-  inline constexpr chrono::duration<long double, nano>
+  constexpr chrono::duration<long double, nano>
   operator"" ns(long double __nsecs)
   { return chrono::duration<long double, nano>{__nsecs}; }
 
   template <char... _Digits>
-    inline constexpr typename
+    constexpr typename
     __detail::_Select_type<__select_int::_Select_int<_Digits...>::value,
                           chrono::nanoseconds>::type
     operator"" ns()
index 69f5bd1f72f42b24219482c9c42f5a313ead4ce2..063ce02e9c749bcb8bd999f9d08309bf88d444a6 100644 (file)
@@ -856,25 +856,25 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     }
 
   template<typename... _TElements, typename... _UElements>
-    inline constexpr bool
+    constexpr bool
     operator!=(const tuple<_TElements...>& __t,
               const tuple<_UElements...>& __u)
     { return !(__t == __u); }
 
   template<typename... _TElements, typename... _UElements>
-    inline constexpr bool
+    constexpr bool
     operator>(const tuple<_TElements...>& __t,
              const tuple<_UElements...>& __u)
     { return __u < __t; }
 
   template<typename... _TElements, typename... _UElements>
-    inline constexpr bool
+    constexpr bool
     operator<=(const tuple<_TElements...>& __t,
               const tuple<_UElements...>& __u)
     { return !(__u < __t); }
 
   template<typename... _TElements, typename... _UElements>
-    inline constexpr bool
+    constexpr bool
     operator>=(const tuple<_TElements...>& __t,
               const tuple<_UElements...>& __u)
     { return !(__t < __u); }