test passed: GCC4.8.2

This commit is contained in:
bolero-MURAKAMI 2013-10-17 16:44:31 +09:00
parent 7b11799ace
commit 9f11b2481d
2 changed files with 3 additions and 2 deletions

View file

@ -35,7 +35,7 @@ Supported Compilers
Linux: Linux:
* GCC, C++11 mode: 4.7.0, 4.7.1, 4.7.2, 4.7.3, 4.8.0, 4.8.1 * GCC, C++11 mode: 4.7.0, 4.7.1, 4.7.2, 4.7.3, 4.8.0, 4.8.1, 4.8.2
* Clang, C++11 mode: 3.2, 3.3 * Clang, C++11 mode: 3.2, 3.3
******************************************************************************* *******************************************************************************

View file

@ -191,6 +191,7 @@ namespace sprout {
void ref(T const&&) SPROUT_DELETED_FUNCTION_DECL void ref(T const&&) SPROUT_DELETED_FUNCTION_DECL
template<typename T> template<typename T>
void cref(T const&&) SPROUT_DELETED_FUNCTION_DECL void cref(T const&&) SPROUT_DELETED_FUNCTION_DECL
template<typename T> template<typename T>
inline SPROUT_CONSTEXPR sprout::reference_wrapper<T> inline SPROUT_CONSTEXPR sprout::reference_wrapper<T>
ref(sprout::reference_wrapper<T> t) SPROUT_NOEXCEPT { ref(sprout::reference_wrapper<T> t) SPROUT_NOEXCEPT {
@ -198,7 +199,7 @@ namespace sprout {
} }
template<typename T> template<typename T>
inline SPROUT_CONSTEXPR sprout::reference_wrapper<T const> inline SPROUT_CONSTEXPR sprout::reference_wrapper<T const>
ref(sprout::reference_wrapper<T> t) SPROUT_NOEXCEPT { cref(sprout::reference_wrapper<T> t) SPROUT_NOEXCEPT {
return sprout::reference_wrapper<T const>(t.get()); return sprout::reference_wrapper<T const>(t.get());
} }