template <class P>
struct second
{
// unspecified
};
Returns the second element of the pair P
.
#include <mpllibs/metamonad/second.hpp>
For any p
nullary metafunction
second<p>::type
is equivalent to
p::type::second
second<pair<int_<11>, int_<13>>>::type
Copyright Abel Sinkovics (abel at elte dot hu) 2011. 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