[cfe-commits] [PATCH] Simplify StringSwitch

Sebastian Redl sebastian.redl at getdesigned.at
Thu Dec 3 04:15:47 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



More information about the cfe-commits mailing list