Boost logo

Boost :

From: Alexander Nasonov (alnsn-mycop_at_[hidden])
Date: 2004-04-02 03:08:09


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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk