MPL names/directory structure refactoring

[SVN r17651]
This commit is contained in:
Aleksey Gurtovoy 2003-02-25 23:11:41 +00:00 committed by Peter Dimov
parent d1b6b6a41c
commit e1296cf76b

View File

@ -7,7 +7,7 @@
# include <boost/config.hpp> # include <boost/config.hpp>
# include <boost/utility/addressof.hpp> # include <boost/utility/addressof.hpp>
# include <boost/mpl/bool_c.hpp> # include <boost/mpl/bool.hpp>
// //
// ref.hpp - ref/cref, useful helper functions // ref.hpp - ref/cref, useful helper functions
@ -74,13 +74,13 @@ template<class T> inline reference_wrapper<T const> BOOST_REF_CONST cref(T const
# ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION # ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
template<typename T> template<typename T>
class is_reference_wrapper class is_reference_wrapper
: public mpl::false_c : public mpl::false_
{ {
}; };
template<typename T> template<typename T>
class is_reference_wrapper<reference_wrapper<T> > class is_reference_wrapper<reference_wrapper<T> >
: public mpl::true_c : public mpl::true_
{ {
}; };
@ -146,7 +146,7 @@ class is_reference_wrapper
sizeof(detail::is_reference_wrapper_test(type<T>())) sizeof(detail::is_reference_wrapper_test(type<T>()))
== sizeof(detail::yes_reference_wrapper_t))); == sizeof(detail::yes_reference_wrapper_t)));
typedef ::boost::mpl::bool_c<value> type; typedef ::boost::mpl::bool_<value> type;
}; };
template <typename T> template <typename T>