|
|
| new_value_if (Predicate p, NewType nv) |
| |
|
template<typename InputType > |
| OutputType | operator() (const InputType x) const restrict(amp |
| |
|
template<typename InputType , typename PredicateArgumentType > |
| OutputType | operator() (const InputType x, const PredicateArgumentType y) const restrict(amp |
| |
|
| OutputType | cpu |
| |
|
Predicate | pred |
| |
|
NewType | new_value |
| |
template<typename Predicate , typename NewType , typename OutputType >
Initial value:{
return pred(x) ? new_value : x
The documentation for this struct was generated from the following file:
- //bgldinar16/Jenkins_FS_Root/workspace/Bolt_Clone_Local_develop/include/bolt/amp/detail/replace.inl