> Gabor Greif wrote:
>> Hi all,
>>
>> attached patch simplifies StringSwitch and gets rid of the
>> Copy{Constructible|Assignable} constraint on the type parameter.
>>
> The final conversion still imposes that requirement. Perhaps you should
> change operator T to operator const T&.
>
> Sebastian
Yeah, spotted that when looking at the patch, too (but only after I sent the
mail).
Fixed in my source already.
Thanks for reviewing!
Gabor
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits