Struct make_pair
boost::proto::functional::make_pair — A PolymorphicFunctionObject type that invokes
std::make_pair() on its arguments.
Synopsis
struct make_pair : proto::callable {
template<typename This, typename First, typename Second>
struct result<This(First, Second)> {
typedef std::pair<
typename boost::remove_const<typename boost::remove_reference<First>::type>::type
, typename boost::remove_const<typename boost::remove_reference<Second>::type>::type
> type;
};
template<typename First, typename Second>
typename std::pair< First, Second >
operator()(First const &, Second const &) const;
};
Description
Полиморфная функция, в котором<std::make_pair()>приводит аргументы.
make_pair public member functions
- <
template<typenameFirst,typenameSecond>
typenamestd::pair<First,Second>
operator()(Firstconst&first,Secondconst&second)const;
>Возвращение: | <std::make_pair(first, second)> |