
2 Apr
2004
2 Apr
'04
8:08 a.m.
Thorsten Ottosen wrote:
its not global. And you have to include the specific assign/stl.hpp header.
This header doesn't live alone. It's in TU together with other classes. When users writes using namespace boost::assignment, the operator+= is introduced automatically to every class that has value_type in its definition. I wish we could write something like using boost::assignment::introduce_container_template<vector>; to introduce operator+= only to vectors. -- Alexander Nasonov Independent Developer and Consultant