Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct make_pair

boost::proto::functional::make_pair — A PolymorphicFunctionObject type that invokes std::make_pair() on its arguments.

Synopsis

// In header: <boost/proto/functional/std/utility.hpp>


struct make_pair :  proto::callable {
  // member classes/structs/unions
  template<typename This, typename First, typename Second> 
  struct result<> {
    // types
    typedef  ;
  };

  // public member functions
  template<typename First, typename Second> 
     
    (, ) ;
};

Description

A PolymorphicFunctionObject type that invokes std::make_pair() on its arguments.

make_pair public member functions

  1. template<typename First, typename Second> 
       
      ( first,  second) ;

    Returns:

    std::make_pair(first, second)


PrevUpHomeNext