// Copyright David Abrahams 2002. // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef CV_CATEGORY_DWA200222_HPP # define CV_CATEGORY_DWA200222_HPP # include namespace boost { namespace python { namespace detail { template struct cv_tag { BOOST_STATIC_CONSTANT(bool, is_const = is_const_); BOOST_STATIC_CONSTANT(bool, is_volatile = is_volatile_); }; typedef cv_tag cv_unqualified; typedef cv_tag const_; typedef cv_tag volatile_; typedef cv_tag const_volatile_; template struct cv_category { // BOOST_STATIC_CONSTANT(bool, c = is_const::value); // BOOST_STATIC_CONSTANT(bool, v = is_volatile::value); typedef cv_tag< is_const::value , is_volatile::value > type; }; }}} // namespace boost::python::detail #endif // CV_CATEGORY_DWA200222_HPP