Brian McNamara <[EMAIL PROTECTED]> wrote:
> On Sun, Aug 31, 2003 at 09:12:59PM -0600, Dave Gomboc wrote:
>>> The point is that optional is not a T, and most notably, a template
>>> function will never perform the coercion. Replace the lines like
>>>B b = get<2>(args);
>>> in your example with
On Sun, Aug 31, 2003 at 09:12:59PM -0600, Dave Gomboc wrote:
> > The point is that optional is not a T, and most notably, a template
> > function will never perform the coercion. Replace the lines like
> >B b = get<2>(args);
> > in your example with real calls to, e.g.
> >do_something( ge
> Here's a (contrived) example of how the implicit conversion breaks
> generic code:
>
[example snipped]
>
> The point is that optional is not a T, and most notably, a template
> function will never perform the coercion. Replace the lines like
>B b = get<2>(args);
> in your example with rea