Bolt  1.3
C++ template library with support for OpenCL
Public Types | Public Member Functions | Public Attributes | List of all members
bolt::amp::unary_negate< Predicate > Struct Template Reference

Public Types

typedef bool result_type
 

Public Member Functions

 unary_negate (const Predicate &pred)
 
template<typename T >
bool operator() (const T &x) const restrict(amp
 

Public Attributes

Predicate pred
 
bool cpu
 

Member Data Documentation

template<typename Predicate >
bool bolt::amp::unary_negate< Predicate >::cpu
Initial value:
{
return !bool(pred(x))

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