assign() method of the unary operation to each element in a sequence.
dst must be end-sensitive.
assign() method of the binary operation to each element in a sequence.
dst must be end-sensitive.
src2 supplies the second operands.
assign() method of the binary operation to x, consequently
using all elements supplied by src as the second operands.
Return the reference to x.
src must be end-sensitive.
assign() method
of the binary operation consecutively using the rest of c as the second operands, and
return it. If c is empty, return an object created with the default constructor.
accumulate(c, BuildBinary<operations::mul>()) computes the
product of all elements in c, and accumulate(c, BuildBinary<operations::max>())
finds the greatest element.
c.size().
For empty containers will probably trigger a "zero division" trap.
Polymake Template Library has overloaded a couple of most often used STL algorithms with versions adapted for end-sensitive iterators. In principle, almost every STL algorithm could be adapted this way, but this would mean an almost complete rewrite of the STL! Thus, we create the adapted versions only when acute need arises.
at_end state.
copy returns the destination iterator pointing after the last copied data item.
std::swap function, which is optimized for many
data types. The original STL variant allows two different iterator types, and therefore
falls back to the less optimal copying via temporary object.
bool values or something convertible to it.
at_end state.