1 .. Data Types/Miscellaneous//pair |10
26 A transparent holder for two arbitrary types.
34 #include <boost/mpl/pair.hpp>
40 Count a number of elements in the sequence together with a number of negative
46 vector_c<int,-1,0,5,-7,-2,4,5,7>
47 , pair< int_<0>, int_<0> >
58 BOOST_MPL_ASSERT_RELATION( p::first::value, ==, 8 );
59 BOOST_MPL_ASSERT_RELATION( p::second::value, ==, 3 );
65 |Data Types|, |Sequences|, |first|, |second|
68 .. copyright:: Copyright © 2001-2009 Aleksey Gurtovoy and David Abrahams
69 Distributed under the Boost Software License, Version 1.0. (See accompanying
70 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)