Struct second
boost::proto::functional::second —
A PolymorphicFunctionObject type that returns
the second element of a std::pair<>.
Synopsis
struct second : proto::callable {
template<typename This, typename Pair>
struct result<This(Pair)> {
typedef typename Pair::second_type type;
};
template<typename This, typename Pair>
struct result<This(Pair &)> {
typedef typename Pair::second_type & type;
};
template<typename This, typename Pair>
struct result<This(Pair const &)> {
typedef typename Pair::second_type const & type;
};
template<typename Pair>
typename Pair::second_type & operator()(Pair &) const;
template<typename Pair>
typename Pair::second_type const & operator()(Pair const &) const;
};
Description
PolymorphicFunctionObject тип, который возвращает второй элемент std::pair<>.
second public member functions
- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>2>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>2>>>>>2>>>2>>>>>>>>>>2>>>>>>>>>>>>>>>>>>>2>>>>>>>>>>2>>>>>>>