Boost logo

Boost :

Subject: Re: [boost] Interest in runtime concepts library.
From: Germán Diago (germandiago_at_[hidden])
Date: 2011-02-06 17:15:49

> Ref<PlugableDeviceC> plugable_device = devices[0].castTo<PlugableDeviceC>();

I improved a little my design and I got rid of Ref<Concept> and now normal
references can be used instead of them. The thing that doesn't work is
conversion in shared_ptr, like this:

shared_ptr<BaseConcept> sptr(derived_concept_instance);

If I solve this very problem, I could make work every concept and its
in a very natural way.

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