Boost logo

Boost :

Subject: Re: [boost] [function] function wrapping and exception safety recap
From: Gottlob Frege (gottlobfrege_at_[hidden])
Date: 2010-10-27 01:46:00

On Tue, Oct 19, 2010 at 4:11 AM, Emil Dotchevski
<emil_at_[hidden]> wrote:
> Because function<T,A1> is not the same type as function<T,A2>.

You can make them pretty convertable by overloading constructors and
casting operators.
And/or a common base type.

I would like to be able to specify the SBO size. ie function<T, 12>
and function<T, 16>. But be able to pass it around to anything that
expects a function<T>.
Surely we should be able to make that work efficiently?


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