mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-12-23 21:25:49 +00:00
test passed: GCC4.8.2
This commit is contained in:
parent
7b11799ace
commit
9f11b2481d
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue