File indexing completed on 2025-12-16 09:59:19
0001
0002
0003
0004
0005
0006 #ifndef BOOST_PARAMETER_AUX_YESNO_HPP
0007 #define BOOST_PARAMETER_AUX_YESNO_HPP
0008
0009 namespace boost { namespace parameter { namespace aux {
0010
0011
0012
0013 typedef char yes_tag;
0014 typedef char (&no_tag)[2];
0015 }}}
0016
0017 #include <boost/mpl/bool.hpp>
0018
0019 namespace boost { namespace parameter { namespace aux {
0020
0021
0022
0023 ::boost::parameter::aux::yes_tag to_yesno(::boost::mpl::true_);
0024 ::boost::parameter::aux::no_tag to_yesno(::boost::mpl::false_);
0025 }}}
0026
0027 #include <boost/parameter/config.hpp>
0028
0029 #if defined(BOOST_PARAMETER_CAN_USE_MP11)
0030 #include <boost/mp11/integral.hpp>
0031
0032 namespace boost { namespace parameter { namespace aux {
0033
0034
0035
0036 ::boost::parameter::aux::yes_tag to_yesno(::boost::mp11::mp_true);
0037 ::boost::parameter::aux::no_tag to_yesno(::boost::mp11::mp_false);
0038 }}}
0039
0040 #endif
0041 #endif
0042