ALP User Documentation 0.7.0
Algebraic Programming User Documentation
List of all members
right_assign_if< D1, D2, D3, implementation > Class Template Reference

This operator assigns the right-hand input if the left-hand input evaluates true. More...

#include <ops.hpp>

Inherits Operator< internal::right_assign_if< D1, D1, D1, config::default_backend > >.

Detailed Description

template<typename D1, typename D2 = D1, typename D3 = D2, enum Backend implementation = config::default_backend>
class grb::operators::right_assign_if< D1, D2, D3, implementation >

This operator assigns the right-hand input if the left-hand input evaluates true.

If the left-hand input does not evaluate true, then the output field is unmodified.

Warning
Therefore, this operator may propagate the use of uninitialised values if not used with care. Ensuring its use with in-place primitives is recommended.

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