#ifndef MYOPERATORS_HPP #define MYOPERATORS_HPP #ifndef INCLUDED_BOOST_OPERATORS #include #define INCLUDED_BOOST_OPERATORS #endif #ifndef INCLUDED_BOOST_MPL_BOOL #include #define INCLUDED_BOOST_MPL_BOOL #endif #ifndef INCLUDED_BOOST_MPL_OR #include #define INCLUDED_BOOST_MPL_OR #endif namespace algocpw { template char (& is_op_test(boost::operators const&) )[2]; template char is_op_test(T const&); template T const& make(); template struct is_operators : boost::mpl::bool_<(sizeof(is_op_test(make())) == 2)> {}; } #endif