Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Struct template binder1st

boost::log::binder1st — First argument binder.

Synopsis

// In header: <boost/log/utility/functional/bind.hpp>

template<typename FunT, typename FirstArgT> 
struct binder1st : private FunT {
  // types
  typedef FunT::result_type result_type;

  // construct/copy/destruct
  binder1st(FunT const &, unspecified);

  // public member functions
  result_type operator()() const;
  template<typename T0> result_type operator()(T0 const &) const;
  template<typename T0, typename T1> 
    result_type operator()(T0 const &, T1 const &) const;
};

Description

binder1st public construct/copy/destruct

  1. binder1st(FunT const & fun, unspecified arg);

binder1st public member functions

  1. result_type operator()() const;
  2. template<typename T0> result_type operator()(T0 const & arg0) const;
  3. template<typename T0, typename T1> 
      result_type operator()(T0 const & arg0, T1 const & arg1) const;

PrevUpHomeNext