Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:29:44

0001 /*
0002 Copyright (c) 2016 Barrett Adair
0003 
0004 Distributed under the Boost Software License, Version 1.0.
0005 (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
0006 
0007 HEADER GUARDS INTENTIONALLY OMITTED
0008 DO NOT INCLUDE THIS HEADER DIRECTLY
0009 
0010 */
0011 
0012 template<typename T, typename Return, typename... Args>
0013 struct set_varargs_member_function_qualifiers_t <
0014     flag_map<int BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS>::value,
0015     false, // IsTransactionSafe
0016     false, // IsNoexcept
0017     BOOST_CLBL_TRTS_CC_TAG, T, Return, Args...> {
0018 
0019     using type =
0020         Return(BOOST_CLBL_TRTS_VARARGS_CC T::*)(Args..., ...)
0021         BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS;
0022 };
0023 
0024 template<typename T, typename Return, typename... Args>
0025 struct set_varargs_member_function_qualifiers_t <
0026     flag_map<int BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS>::value,
0027     false,
0028     true,
0029     BOOST_CLBL_TRTS_CC_TAG, T, Return, Args...> {
0030 
0031     using type =
0032         Return(BOOST_CLBL_TRTS_VARARGS_CC T::*)(Args..., ...)
0033         BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS BOOST_CLBL_TRTS_NOEXCEPT_SPECIFIER;
0034 };
0035 
0036 template<typename T, typename Return, typename... Args>
0037 struct set_varargs_member_function_qualifiers_t <
0038     flag_map<int BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS>::value,
0039     true,
0040     false,
0041     BOOST_CLBL_TRTS_CC_TAG, T, Return, Args...> {
0042 
0043     using type =
0044         Return(BOOST_CLBL_TRTS_VARARGS_CC T::*)(Args..., ...)
0045             BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
0046             BOOST_CLBL_TRTS_TRANSACTION_SAFE_SPECIFIER;
0047 };
0048 
0049 template<typename T, typename Return, typename... Args>
0050 struct set_varargs_member_function_qualifiers_t <
0051     flag_map<int BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS>::value,
0052     true,
0053     true,
0054     BOOST_CLBL_TRTS_CC_TAG, T, Return, Args...> {
0055 
0056     using type =
0057         Return(BOOST_CLBL_TRTS_VARARGS_CC T::*)(Args..., ...)
0058             BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS
0059             BOOST_CLBL_TRTS_TRANSACTION_SAFE_SPECIFIER
0060             BOOST_CLBL_TRTS_NOEXCEPT_SPECIFIER;
0061 };
0062 
0063 #define BOOST_CLBL_TRTS_INCLUDE_TRANSACTION_SAFE
0064 #define BOOST_CLBL_TRTS_IS_TRANSACTION_SAFE std::false_type
0065 #include <boost/callable_traits/detail/unguarded/pmf_varargs_3.hpp>
0066 
0067 #undef BOOST_CLBL_TRTS_INCLUDE_TRANSACTION_SAFE
0068 #undef BOOST_CLBL_TRTS_IS_TRANSACTION_SAFE
0069 
0070 #ifdef BOOST_CLBL_TRTS_ENABLE_TRANSACTION_SAFE
0071 
0072 #define BOOST_CLBL_TRTS_IS_TRANSACTION_SAFE std::true_type
0073 #define BOOST_CLBL_TRTS_INCLUDE_TRANSACTION_SAFE transaction_safe
0074 #include <boost/callable_traits/detail/unguarded/pmf_varargs_3.hpp>
0075 #endif
0076 
0077 #undef BOOST_CLBL_TRTS_INCLUDE_TRANSACTION_SAFE
0078 #undef BOOST_CLBL_TRTS_IS_TRANSACTION_SAFE