// Boost.TypeErasure library // // Copyright 2012 Steven Watanabe // // 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) // // $Id$ #include #include #include using namespace boost::type_erasure; struct a_placeholder : placeholder {}; struct not_placeholder {}; struct incomplete; template struct t_placeholder : placeholder {}; template struct t_incomplete; BOOST_MPL_ASSERT((is_placeholder)); BOOST_MPL_ASSERT_NOT((is_placeholder)); BOOST_MPL_ASSERT_NOT((is_placeholder)); BOOST_MPL_ASSERT_NOT((is_placeholder)); BOOST_MPL_ASSERT_NOT((is_placeholder)); BOOST_MPL_ASSERT((is_placeholder >)); BOOST_MPL_ASSERT_NOT((is_placeholder >));