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

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