File indexing completed on 2025-12-16 10:10:13
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_TYPE_ERASURE_IS_EMPTY_HPP_INCLUDED
0012 #define BOOST_TYPE_ERASURE_IS_EMPTY_HPP_INCLUDED
0013
0014 #include <boost/type_erasure/detail/access.hpp>
0015
0016 namespace boost {
0017 namespace type_erasure {
0018
0019
0020 template<class T>
0021 bool is_empty(const T& arg) {
0022 return ::boost::type_erasure::detail::access::data(arg).data == 0;
0023 }
0024
0025 }
0026 }
0027
0028 #endif