Moved sizeof.hpp to core components.

This commit is contained in:
Andrey Semashev committed 2014-08-31 14:41:53 +04:00
1 parent a46a787a49
commit 6064a97e3a
4 files changed
+1 -1

No files matched your search

-1
View File
@@ -75,7 +75,6 @@ compile set.cpp ;
compile set_c.cpp ;
compile single_view.cpp ;
compile size.cpp ;
compile sizeof.cpp ;
compile sort.cpp ;
compile stable_partition.cpp ;
compile transform.cpp ;
-28
View File
@@ -1,28 +0,0 @@
// Copyright Aleksey Gurtovoy 2001-2004
//
// 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)
//
// See http://www.boost.org/libs/mpl for documentation.
// $Id$
// $Date$
// $Revision$
#include <boost/mpl/sizeof.hpp>
#include <boost/mpl/aux_/test.hpp>
struct my
{
char a[100];
};
MPL_TEST_CASE()
{
MPL_ASSERT_RELATION( sizeof_<char>::value, ==, sizeof(char) );
MPL_ASSERT_RELATION( sizeof_<int>::value, ==, sizeof(int) );
MPL_ASSERT_RELATION( sizeof_<double>::value, ==, sizeof(double) );
MPL_ASSERT_RELATION( sizeof_<my>::value, ==, sizeof(my) );
}