|
Boost : |
From: Pavol Droba (droba_at_[hidden])
Date: 2003-11-17 10:55:55
Hi,
I have recently discovered the specification of the collection concept in the boost repository.
(boost/libs/utility/Collection.html)
I found it very interesting in connection to string_algo library and especially container_traits.
It almost precisely models the concept which is widely used there, but has not been specified
to concrete details yet. However it was requested during the review as a very important.
The required concept should reflect the properties provided by container_traits. Collection
is almost perfect, but there is one thing, that is problematic.
There are important data types supported by container_traits, that cannot provide swap() functionality.
Therefore I would need to remove swap from collection specification to use it.
My questions are:
1. Is there a plan to add Collection concept to the ConceptCheck library?
2. Is the "swap" requirement so important, that it eventualy couldn't be relaxed?
Regards,
Pavol
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk