Celeritas 0.7.0-22+develop.9704a67c5
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
celeritas::NotPredicate< Pred > Struct Template Reference

Negate a unary predicate. More...

#include <DeviceAlgorithms.device.hh>

Public Member Functions

template<class T >
bool operator() (T const &value) const
 

Public Attributes

Pred pred
 

Detailed Description

template<class Pred>
struct celeritas::NotPredicate< Pred >

Negate a unary predicate.

This is used to compact with thrust::remove_if , which removes rather than selects the items that satisfy the predicate.


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