Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::binder1st< Operation > Struct Template Reference

First argument binder. More...

#include <bind.hpp>

Inheritance diagram for boost::binder1st< Operation >:
Collaboration diagram for boost::binder1st< Operation >:

Public Types

typedef FunT::result_type result_type
 

Public Member Functions

 binder1st (typename binary_traits< Operation >::param_type x, typename call_traits< typename binary_traits< Operation >::first_argument_type >::param_type y)
 
binary_traits< Operation >
::result_type 
operator() (typename call_traits< typename binary_traits< Operation >::second_argument_type >::param_type x) const
 
 binder1st (FunT const &fun, typename aux::make_arg_type< FirstArgT >::type arg)
 
result_type operator() () const
 
template<typename T0 >
result_type operator() (T0 const &arg0) const
 
template<typename T0 , typename T1 >
result_type operator() (T0 const &arg0, T1 const &arg1) const
 

Protected Attributes

binary_traits< Operation >
::function_type 
op
 
binary_traits< Operation >
::first_argument_type 
value
 

Detailed Description

template<class Operation>
struct boost::binder1st< Operation >

First argument binder.

Member Typedef Documentation

template<class Operation>
typedef FunT::result_type boost::binder1st< Operation >::result_type

Constructor & Destructor Documentation

template<class Operation>
boost::binder1st< Operation >::binder1st ( typename binary_traits< Operation >::param_type  x,
typename call_traits< typename binary_traits< Operation >::first_argument_type >::param_type  y 
)
inline
template<class Operation>
boost::binder1st< Operation >::binder1st ( FunT const &  fun,
typename aux::make_arg_type< FirstArgT >::type  arg 
)
inline

Member Function Documentation

template<class Operation>
result_type boost::binder1st< Operation >::operator() ( ) const
inline

References operator()().

template<class Operation>
template<typename T0 >
result_type boost::binder1st< Operation >::operator() ( T0 const &  arg0) const
inline

References operator()().

template<class Operation>
template<typename T0 , typename T1 >
result_type boost::binder1st< Operation >::operator() ( T0 const &  arg0,
T1 const &  arg1 
) const
inline

References operator()().

template<class Operation>
binary_traits<Operation>::result_type boost::binder1st< Operation >::operator() ( typename call_traits< typename binary_traits< Operation >::second_argument_type >::param_type  x) const
inline

Member Data Documentation

template<class Operation>
binary_traits<Operation>::function_type boost::binder1st< Operation >::op
protected
template<class Operation>
binary_traits<Operation>::first_argument_type boost::binder1st< Operation >::value
protected

The documentation for this struct was generated from the following files: