diff options
Diffstat (limited to 'boost/callable_traits/detail/unguarded/pmf.hpp')
-rw-r--r-- | boost/callable_traits/detail/unguarded/pmf.hpp | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/boost/callable_traits/detail/unguarded/pmf.hpp b/boost/callable_traits/detail/unguarded/pmf.hpp new file mode 100644 index 0000000000..de9e7a34a1 --- /dev/null +++ b/boost/callable_traits/detail/unguarded/pmf.hpp @@ -0,0 +1,94 @@ +/* +Copyright (c) 2001 Peter Dimov and Multi Media Ltd. +Copyright (c) 2016 Modified Work 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) + +HEADER GUARDS INTENTIONALLY OMITTED +DO NOT INCLUDE THIS HEADER DIRECTLY + +*/ + +#undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS +#undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS + + +#define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS +#define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS +#include <boost/callable_traits/detail/unguarded/pmf_2.hpp> +#undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS +#undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS + +#define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS const +#define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS \ + BOOST_CLBL_TRTS_ABOMINABLE_CONST +#include <boost/callable_traits/detail/unguarded/pmf_2.hpp> +#undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS +#undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS + +#define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS volatile +#define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS \ + BOOST_CLBL_TRTS_ABOMINABLE_VOLATILE +#include <boost/callable_traits/detail/unguarded/pmf_2.hpp> +#undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS +#undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS + +#define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS const volatile +#define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS \ + BOOST_CLBL_TRTS_ABOMINABLE_CONST BOOST_CLBL_TRTS_ABOMINABLE_VOLATILE +#include <boost/callable_traits/detail/unguarded/pmf_2.hpp> +#undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS +#undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS + +#ifndef BOOST_CLBL_TRTS_DISABLE_REFERENCE_QUALIFIERS + +#define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS & +#define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS & +#include <boost/callable_traits/detail/unguarded/pmf_2.hpp> +#undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS +#undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS + +#define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS && +#define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS && +#include <boost/callable_traits/detail/unguarded/pmf_2.hpp> +#undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS +#undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS + +#define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS const & +#define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS const & +#include <boost/callable_traits/detail/unguarded/pmf_2.hpp> +#undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS +#undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS + +#define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS volatile & +#define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS volatile & +#include <boost/callable_traits/detail/unguarded/pmf_2.hpp> +#undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS +#undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS + +#define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS const volatile & +#define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS const volatile & +#include <boost/callable_traits/detail/unguarded/pmf_2.hpp> +#undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS +#undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS + +#define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS const && +#define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS const && +#include <boost/callable_traits/detail/unguarded/pmf_2.hpp> +#undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS +#undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS + +#define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS volatile && +#define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS volatile && +#include <boost/callable_traits/detail/unguarded/pmf_2.hpp> +#undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS +#undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS + +#define BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS const volatile && +#define BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS const volatile && +#include <boost/callable_traits/detail/unguarded/pmf_2.hpp> +#undef BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS +#undef BOOST_CLBL_TRTS_INCLUDE_ABOMINABLE_QUALIFIERS + +#endif // #ifndef BOOST_CLBL_TRTS_DISABLE_REFERENCE_QUALIFIERS |