include/boost/thread/pthread/once.hpp | 6 +++---
include/boost/thread/pthread/once_atomic.hpp | 2 +-
include/boost/thread/win32/once.hpp | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/boost/thread/pthread/once.hpp b/include/boost/thread/pthread/once.hpp
index ccfb051..0bef038 100644
a
|
b
|
namespace boost
|
42 | 42 | } |
43 | 43 | |
44 | 44 | #ifdef BOOST_THREAD_PROVIDES_ONCE_CXX11 |
45 | | #ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES |
| 45 | #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) |
46 | 46 | template<typename Function, class ...ArgTypes> |
47 | 47 | inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTypes)... args); |
48 | 48 | #else |
… |
… |
namespace boost
|
65 | 65 | private: |
66 | 66 | volatile thread_detail::uintmax_atomic_t epoch; |
67 | 67 | |
68 | | #ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES |
| 68 | #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) |
69 | 69 | template<typename Function, class ...ArgTypes> |
70 | 70 | friend void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTypes)... args); |
71 | 71 | #else |
… |
… |
namespace boost
|
118 | 118 | // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2444.html |
119 | 119 | |
120 | 120 | |
121 | | #ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES |
| 121 | #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) |
122 | 122 | |
123 | 123 | |
124 | 124 | template<typename Function, class ...ArgTypes> |
diff --git a/include/boost/thread/pthread/once_atomic.hpp b/include/boost/thread/pthread/once_atomic.hpp
index 9e2f876..923f07b 100644
a
|
b
|
namespace boost
|
115 | 115 | #endif |
116 | 116 | |
117 | 117 | |
118 | | #ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES |
| 118 | #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) |
119 | 119 | |
120 | 120 | template<typename Function, class ...ArgTypes> |
121 | 121 | inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTypes)... args) |
diff --git a/include/boost/thread/win32/once.hpp b/include/boost/thread/win32/once.hpp
index cafcfd4..9b37b31 100644
a
|
b
|
namespace boost
|
227 | 227 | } |
228 | 228 | } |
229 | 229 | |
230 | | #ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES |
| 230 | #if !defined BOOST_NO_CXX11_VARIADIC_TEMPLATES && !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) |
231 | 231 | //#if defined(BOOST_THREAD_RVALUE_REFERENCES_DONT_MATCH_FUNTION_PTR) |
232 | 232 | inline void call_once(once_flag& flag, void (*f)()) |
233 | 233 | { |