|
Boost : |
From: MB (mb2act_at_[hidden])
Date: 2005-12-02 16:34:44
Hi,
Under VC++7.1,
I was surprised that a class derived from 'boost::iterator_range'
was almost copied by BOOST_FOREACH.
('boost::noncopyable' works!)
I think such a range that is noncopyable but derived from
iterator_range is valid, isn't it ...?
I think it could be dangerous if users can't find cheap_copy-customization.
Regards,
MB
http://p-stade.sourceforge.net/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk