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

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

#include <ops.hpp>

Inherits Operator< internal::left_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::left_assign_if< D1, D2, D3, implementation >

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

If the right-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: