Struct second
boost::xpressive::op::second — second is a PolymorphicFunctionObject for fetching the second element of a pair.
Synopsis
struct second {
template<typename Sig>
struct result {
};
template<typename This, typename Pair>
struct result<This(Pair)> {
typedef remove_reference< Pair >::type::second_type type;
};
template<typename Pair> Pair::second_type operator()(Pair const &) const;
};
Description
second public member functions
- <
template<typenamePair>Pair::second_typeoperator()(Pairconst&p)const;
>Параметры: | <p> | Пара, из которой можно извлечь второй элемент. |
|
Возвращение: | <p.second> |