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

Detailed description

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

A unary functor returning true if op evaluates to true

Definition at line 1136 of file numbers.h.

#include <numbers.h>

Public Types

typedef T argument_type
 
typedef bool result_type
 

Public Methods

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

Member Typedef Documentation

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

Definition at line 1138 of file numbers.h.

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

Definition at line 1139 of file numbers.h.

Member Function Documentation

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

Definition at line 1142 of file numbers.h.


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