diff --git a/README.rst b/README.rst index 997ceae1..bea3a5b6 100644 --- a/README.rst +++ b/README.rst @@ -35,7 +35,7 @@ Supported Compilers 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 ******************************************************************************* diff --git a/sprout/functional/ref.hpp b/sprout/functional/ref.hpp index e5ef55d4..8573b91f 100644 --- a/sprout/functional/ref.hpp +++ b/sprout/functional/ref.hpp @@ -191,6 +191,7 @@ namespace sprout { void ref(T const&&) SPROUT_DELETED_FUNCTION_DECL template void cref(T const&&) SPROUT_DELETED_FUNCTION_DECL + template inline SPROUT_CONSTEXPR sprout::reference_wrapper ref(sprout::reference_wrapper t) SPROUT_NOEXCEPT { @@ -198,7 +199,7 @@ namespace sprout { } template inline SPROUT_CONSTEXPR sprout::reference_wrapper - ref(sprout::reference_wrapper t) SPROUT_NOEXCEPT { + cref(sprout::reference_wrapper t) SPROUT_NOEXCEPT { return sprout::reference_wrapper(t.get()); }