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

This operator is a generalisation of the logical or. More...

#include <ops.hpp>

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

This operator is a generalisation of the logical or.

It assigns to the output any input which evaluates true. If there is no such input, it assigns any input that evaluates false.

Note
The main difference is that the output is never cast from a Boolean true or false.

The input domains must be castable to bool.

The input domains must furthermore be castable to the output domain.


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