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