|
Boost : |
From: John Femiani (JOHN.FEMIANI_at_[hidden])
Date: 2007-10-08 18:45:57
> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]]
> On Behalf Of Cédric Venet
> Sent: Monday, October 08, 2007 2:19 AM
> To: boost_at_[hidden]
> Subject: Re: [boost] [GTL] - geometric template library -
> determininginterest
>
> > >For what I can understand you have one class 'b' in B library that
> you
> > >want to use with alghoritms of _both_ A and B library the pattern is:
> > >
> > >1 - get the class 'a' subclassing 'b'; class a : b
> > >2 - add to 'a' interfaces to deal with algorithms of library A
> > >3 - implement that interfaces using methods of 'b' and/or functions
> of
> > >library B acting on 'b'
> > >4 - use 'a' with library A using the above interface
> > >5 - use 'a' with library B because base class of 'a' is a 'b'
> > >Is this interpretation correct ?
>
> Quoting John Femiani <JOHN.FEMIANI_at_[hidden]>:
>
> >
> >
> > So the "concept" is also an "adapter"?
>
> I think a is more like a ConceptMap (basicaly an adapter to a concept)
> and it was clear from a previous mail that it was considered like this
> (the code sample was something like PointConceptMap). I suppose
> ConceptMap just became Concept during the discution.
>
> --
> Cédric
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
[John quickly reviews concept maps]
So then is it fair to say that GTL will provide ConceptMap features compatible with current compilers? Is BGL hoping to become Boost.ConceptMap + Boost.Point + Boost.RectilinearRegion ? I saw some code in this thread where concepts were used in assertions -- is supposed to be a GTL version of the concept axioms proposed for c++0x?
-- John
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk