MPL names/directory structure refactoring

[SVN r17651]
This commit is contained in:
Aleksey Gurtovoy
2003-02-25 23:11:41 +00:00
parent f21cd2bd51
commit e98c65986e
137 changed files with 2773 additions and 868 deletions
+3 -3
View File
@@ -17,8 +17,8 @@
#include "boost/mpl/upper_bound.hpp"
#include "boost/mpl/distance.hpp"
#include "boost/mpl/list_c.hpp"
#include "boost/mpl/comparison/less.hpp"
#include "boost/mpl/int_c.hpp"
#include "boost/mpl/less.hpp"
#include "boost/mpl/int.hpp"
#include "boost/static_assert.hpp"
namespace mpl = boost::mpl;
@@ -26,7 +26,7 @@ namespace mpl = boost::mpl;
int main()
{
typedef mpl::list_c<int,1,2,3,3,3,5,8> numbers;
typedef mpl::upper_bound< numbers, mpl::int_c<3> >::type iter;
typedef mpl::upper_bound< numbers, mpl::int_<3> >::type iter;
BOOST_STATIC_ASSERT((mpl::distance< mpl::begin<numbers>::type,iter >::type::value == 5));
BOOST_STATIC_ASSERT(iter::type::value == 5);
return 0;