From: Manfred Doudar (manfred.doudar_at_[hidden])
Date: 2005-05-02 23:09:09
Maciej Sobczak wrote:
> There is a thread on comp.lang.c++.moderated where the problem of
> manipulating with "heavy" data in STL containers was raised.
> The name of the thread is "Messign with expensive objects in containers".
> I have posted a solution with the help of a simple view adaptor class
> that I wrote a while ago. The code with examples and documentation is
> http://www.msobczak.com/prog/bin/view.zip (11kB)
> Alberto Barbati suggested to post it here for review.
> It is different from boost::multi_index in that view operates on
> already existing objects or sequences.
> Note: the view class itself is very simple and as a concept is only a
> fraction of what is available in the View Template Library:
> I would like to know your opinion about the view as a concept, and its
> simple implementation that I referenced above. It might fit into the
> Containers category of Boost libraries.
Note having looked at your view adaptor class (view.zip), but quickly
over the VTL (of which I was unaware), I realize that I've developed
concepts here at work for, atop of what can be done with Blitz++ (from Todd
Veldhuzien). I'd certainly be all for such a library as part of Boost -
the thought put into the VTL is both admirable, and induces one to
as Homer Simpson might do over donuts) ;-)
-- Manfred Doudar MetOcean Engineers 03 May, 2005
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk