NVBIO
|
Bind the second argument of a functor
#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 |
typedef Functor::first_argument_type nvbio::bind_second_functor< Functor >::argument_type |
typedef Functor::second_argument_type nvbio::bind_second_functor< Functor >::const_type |
typedef Functor::result_type nvbio::bind_second_functor< Functor >::result_type |
|
inline |
|
inline |
|
inline |
const_type nvbio::bind_second_functor< Functor >::m_c |
Functor nvbio::bind_second_functor< Functor >::m_fun |