Files
mpl/test/same_as.cpp

24 lines
517 B
C++
Raw Permalink Normal View History

// Copyright Aleksey Gurtovoy 2001-2004
2002-09-16 19:25:33 +00:00
//
// 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.
2008-10-10 09:21:07 +00:00
// $Id$
// $Date$
// $Revision$
2002-09-16 19:25:33 +00:00
#include <boost/mpl/same_as.hpp>
#include <boost/mpl/apply.hpp>
#include <boost/mpl/aux_/test.hpp>
2002-09-16 19:25:33 +00:00
MPL_TEST_CASE()
2002-09-16 19:25:33 +00:00
{
MPL_ASSERT(( apply1< same_as<int>,int > ));
MPL_ASSERT_NOT(( apply1< same_as<int>,long > ));
2002-09-16 19:25:33 +00:00
}