Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template operator|

boost::itl::operator|

Synopsis

template<class ObjectT , class OperandT > 
  boost::enable_if< is_binary_intra_combinable< ObjectT, OperandT >, ObjectT >::type 
  operator|(ObjectT object, const OperandT & 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