Imported Upstream version 1.49.0
[platform/upstream/boost.git] / libs / mpl / test / same_as.cpp
1
2 // Copyright Aleksey Gurtovoy 2001-2004
3 //
4 // Distributed under the Boost Software License, Version 1.0. 
5 // (See accompanying file LICENSE_1_0.txt or copy at 
6 // http://www.boost.org/LICENSE_1_0.txt)
7 //
8 // See http://www.boost.org/libs/mpl for documentation.
9
10 // $Id: same_as.cpp 49268 2008-10-11 06:26:17Z agurtovoy $
11 // $Date: 2008-10-11 02:26:17 -0400 (Sat, 11 Oct 2008) $
12 // $Revision: 49268 $
13
14 #include <boost/mpl/same_as.hpp>
15
16 #include <boost/mpl/apply.hpp>
17 #include <boost/mpl/aux_/test.hpp>
18
19 MPL_TEST_CASE()
20 {
21     MPL_ASSERT(( apply1< same_as<int>,int > ));
22     MPL_ASSERT_NOT(( apply1< same_as<int>,long > ));
23 }