| .. Metafunctions/Trivial//Trivial Metafunctions Summary |10 |
| |
| Trivial Metafunctions Summary |
| ============================= |
| |
| In the following table, ``x`` is an arbitrary class type. |
| |
| .. |first| replace:: `first`_ |
| .. |second| replace:: `second`_ |
| .. |base| replace:: `base`_ |
| |
| .. _`first`: |
| .. _`second`: |
| .. _`base`: |
| |
| |
| +---------------------------+-------------------------------------------+ |
| | Metafunction | Header | |
| +===========================+===========================================+ |
| | ``first<x>::type`` | ``#include <boost/mpl/pair.hpp>`` | |
| +---------------------------+-------------------------------------------+ |
| | ``second<x>::type`` | ``#include <boost/mpl/pair.hpp>`` | |
| +---------------------------+-------------------------------------------+ |
| | ``base<x>::type`` | ``#include <boost/mpl/base.hpp>`` | |
| +---------------------------+-------------------------------------------+ |
| |
| |
| See Also |
| -------- |
| |
| |Metafunctions|, |Trivial Metafunction| |
| |
| |
| .. copyright:: Copyright © 2001-2009 Aleksey Gurtovoy and David Abrahams |
| 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) |