Boost logo

Boost :

From: Cédric Venet (cedric.venet_at_[hidden])
Date: 2007-10-08 05:19:03

> >For what I can understand you have one class 'b' in B library that
> >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
> >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.


Boost list run by bdawes at, gregod at, cpdaniel at, john at