NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | Public Members | List of all members
nvbio::bind_second_functor< Functor > Struct Template Reference

Detailed description

template< typename Functor>
struct nvbio::bind_second_functor< Functor >

Bind the second argument of a functor

Definition at line 1287 of file numbers.h.

#include <numbers.h>

Public Types

typedef
Functor::first_argument_type 
argument_type
 
typedef
Functor::second_argument_type 
const_type
 
typedef Functor::result_type result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE bind_second_functor (const const_type c)
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE bind_second_functor (const Functor fun, const const_type c)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE result_type 
operator() (const argument_type op) const
 

Public Members

Functor m_fun
 
const_type m_c
 

Member Typedef Documentation

template<typename Functor >
typedef Functor::first_argument_type nvbio::bind_second_functor< Functor >::argument_type

Definition at line 1289 of file numbers.h.

template<typename Functor >
typedef Functor::second_argument_type nvbio::bind_second_functor< Functor >::const_type

Definition at line 1290 of file numbers.h.

template<typename Functor >
typedef Functor::result_type nvbio::bind_second_functor< Functor >::result_type

Definition at line 1291 of file numbers.h.

Constructor & Destructor Documentation

Definition at line 1294 of file numbers.h.

template<typename Functor >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::bind_second_functor< Functor >::bind_second_functor ( const Functor  fun,
const const_type  c 
)
inline

Definition at line 1297 of file numbers.h.

Member Function Documentation

template<typename Functor >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE result_type nvbio::bind_second_functor< Functor >::operator() ( const argument_type  op) const
inline

Definition at line 1300 of file numbers.h.

Member Data Documentation

template<typename Functor >
const_type nvbio::bind_second_functor< Functor >::m_c

Definition at line 1303 of file numbers.h.

template<typename Functor >
Functor nvbio::bind_second_functor< Functor >::m_fun

Definition at line 1302 of file numbers.h.


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