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::equal_to_functor< T > Struct Template Reference

Detailed description

template< typename T>
struct nvbio::equal_to_functor< T >

A unary functor returning true if op == K

Definition at line 1160 of file numbers.h.

#include <numbers.h>

Public Types

typedef T argument_type
 
typedef bool result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE equal_to_functor (const T k)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE result_type 
operator() (const T op) const
 

Public Members

constm_k
 

Member Typedef Documentation

template<typename T >
typedef T nvbio::equal_to_functor< T >::argument_type

Definition at line 1162 of file numbers.h.

template<typename T >
typedef bool nvbio::equal_to_functor< T >::result_type

Definition at line 1163 of file numbers.h.

Constructor & Destructor Documentation

Definition at line 1166 of file numbers.h.

Member Function Documentation

template<typename T >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE result_type nvbio::equal_to_functor< T >::operator() ( const op) const
inline

Definition at line 1169 of file numbers.h.

Member Data Documentation

template<typename T >
const T nvbio::equal_to_functor< T >::m_k

Definition at line 1171 of file numbers.h.


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