/*<- Copyright (c) 2016 Barrett Adair Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) ->*/ #include #ifndef BOOST_CLBL_TRTS_ENABLE_TRANSACTION_SAFE int main(){} #else //[ add_transaction_safe #include #include using boost::callable_traits::add_transaction_safe_t; using not_safe = int(); using safe = int() transaction_safe; using safe_added = add_transaction_safe_t; static_assert(std::is_same{}, ""); int main() {} //] #endif