2 Copyright (c) 2016 Barrett Adair
4 Distributed under the Boost Software License, Version 1.0.
5 (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
7 HEADER GUARDS INTENTIONALLY OMITTED
8 DO NOT INCLUDE THIS HEADER DIRECTLY
12 template<typename T, typename Return, typename... Args>
13 struct set_varargs_member_function_qualifiers_t <
14 flag_map<int BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS>::value,
15 false, // IsTransactionSafe
17 BOOST_CLBL_TRTS_CC_TAG, T, Return, Args...> {
20 Return(BOOST_CLBL_TRTS_VARARGS_CC T::*)(Args..., ...)
21 BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS;
24 template<typename T, typename Return, typename... Args>
25 struct set_varargs_member_function_qualifiers_t <
26 flag_map<int BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS>::value,
29 BOOST_CLBL_TRTS_CC_TAG, T, Return, Args...> {
32 Return(BOOST_CLBL_TRTS_VARARGS_CC T::*)(Args..., ...)
33 BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS BOOST_CLBL_TRTS_NOEXCEPT_SPECIFIER;
36 template<typename T, typename Return, typename... Args>
37 struct set_varargs_member_function_qualifiers_t <
38 flag_map<int BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS>::value,
41 BOOST_CLBL_TRTS_CC_TAG, T, Return, Args...> {
44 Return(BOOST_CLBL_TRTS_VARARGS_CC T::*)(Args..., ...)
45 BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
46 BOOST_CLBL_TRTS_TRANSACTION_SAFE_SPECIFIER;
49 template<typename T, typename Return, typename... Args>
50 struct set_varargs_member_function_qualifiers_t <
51 flag_map<int BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS>::value,
54 BOOST_CLBL_TRTS_CC_TAG, T, Return, Args...> {
57 Return(BOOST_CLBL_TRTS_VARARGS_CC T::*)(Args..., ...)
58 BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
59 BOOST_CLBL_TRTS_TRANSACTION_SAFE_SPECIFIER
60 BOOST_CLBL_TRTS_NOEXCEPT_SPECIFIER;
63 #define BOOST_CLBL_TRTS_INCLUDE_TRANSACTION_SAFE
64 #define BOOST_CLBL_TRTS_IS_TRANSACTION_SAFE std::false_type
65 #include <boost/callable_traits/detail/unguarded/pmf_varargs_3.hpp>
67 #undef BOOST_CLBL_TRTS_INCLUDE_TRANSACTION_SAFE
68 #undef BOOST_CLBL_TRTS_IS_TRANSACTION_SAFE
70 #ifdef BOOST_CLBL_TRTS_ENABLE_TRANSACTION_SAFE
72 #define BOOST_CLBL_TRTS_IS_TRANSACTION_SAFE std::true_type
73 #define BOOST_CLBL_TRTS_INCLUDE_TRANSACTION_SAFE transaction_safe
74 #include <boost/callable_traits/detail/unguarded/pmf_varargs_3.hpp>
77 #undef BOOST_CLBL_TRTS_INCLUDE_TRANSACTION_SAFE
78 #undef BOOST_CLBL_TRTS_IS_TRANSACTION_SAFE