NVBIO
|
Bind the first argument of a functor
#include <numbers.h>
Public Types | |
typedef Functor::second_argument_type | argument_type |
typedef Functor::first_argument_type | const_type |
typedef Functor::result_type | result_type |
Public Methods | |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE | bind_first_functor (const const_type c) |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE | bind_first_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 |
typedef Functor::second_argument_type nvbio::bind_first_functor< Functor >::argument_type |
typedef Functor::first_argument_type nvbio::bind_first_functor< Functor >::const_type |
typedef Functor::result_type nvbio::bind_first_functor< Functor >::result_type |
|
inline |
|
inline |
|
inline |
const_type nvbio::bind_first_functor< Functor >::m_c |
Functor nvbio::bind_first_functor< Functor >::m_fun |