Fermat
Public Types | Public Methods | List of all members
cugar::one_or_zero Struct Reference

Detailed description

A functor to return the either one or zero depending on the boolean predicate evaluation of the input.

#include <functors.h>

Public Types

typedef unary_function_tag function_tag
 
typedef uint32 argument_type
 
typedef uint32 result_type
 

Public Methods

CUGAR_HOST_DEVICE uint32 operator() (const uint32 op) const
 

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