
27 Oct
2010
27 Oct
'10
5:46 a.m.
On Tue, Oct 19, 2010 at 4:11 AM, Emil Dotchevski <emil@revergestudios.com> 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? Tony