[cfe-commits] [PATCH] Simplify StringSwitch

Gabor Greif gabor at mac.com
Thu Dec 3 05:14:18 PST 2009


> 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



More information about the cfe-commits mailing list