Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template operator|

boost::itl::operator|

Synopsis

template<class ObjectT > 
  ObjectT operator|(typename ObjectT::overloadable_type object, 
                    const ObjectT & operand);

Description

Requires: object and operand are addable.

Effects: operand is added to object.

Efficieny: There is one additional copy of

ObjectT object compared to inplace operator |=


PrevUpHomeNext