Re: [boost] Deterimining interest in: Optional Polymorphic V…

Top Page

Reply to this message
Author: Corrado Zoccolo
Date:  
To: boost
Subject: Re: [boost] Deterimining interest in: Optional Polymorphic Value object with Small Object optimization
On 10/20/07, Sebastian Redl <sebastian.redl@???> wrote:
>
> So, is this more a boost::any with SBO or a boost::optional that can
> store polymorphic types if necessary?



I haven't looked at boost::any implementation yet, but I guess it is based
on the same recipe as boost::function, so I think that what you need can be
implemented easily with optional_poly as a basic tool.


It seems to me like it is the latter. That sounds useful, but right now
> I'd need the former.



I will work on some sample code to show how it can be obtained, and come
back.

Corrado


Sebastian Redl
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>




-- 
__________________________________________________________________________


dott. Corrado Zoccolo mailto:zoccolo@???
PhD - Department of Computer Science - University of Pisa, Italy
--------------------------------------------------------------------------
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost