second

Synopsis

template <class P>
struct second
{
  // unspecified
};

Description

Returns the second element of the pair P.

#include <mpllibs/metamonad/second.hpp>

Expression semantics

For any p nullary metafunction

second<p>::type

is equivalent to

p::type::second

Example

second<pair<int_<11>, int_<13>>>::type

[up]