// Copyright David Abrahams 2003-2004 // Copyright Aleksey Gurtovoy 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 #include #include #include #include MPL_TEST_CASE() { typedef range_c r; typedef vector10_c v; typedef pair_view view; typedef begin::type first_; typedef end::type last_; MPL_ASSERT(( is_same< first_::category, mpl::random_access_iterator_tag > )); MPL_ASSERT(( is_same< advance_c::type, first_ > )); MPL_ASSERT(( is_same< advance_c::type, last_ > )); MPL_ASSERT(( is_same< advance_c::type, last_ > )); MPL_ASSERT(( is_same< advance_c::type, first_ > )); typedef advance_c::type iter; MPL_ASSERT(( is_same< deref::type , mpl::pair< integral_c,integral_c > > )); }