[Interest] Qt 5.5.0 Compile Time Hash Example

md at rpzdesign.com md at rpzdesign.com
Mon Aug 24 17:44:18 CEST 2015


That is exactly what the doctor ordered.

I spent a lot of time searching via google and the best that I came up
with was what I shared for discussion.

Thanks for the ISOCPP.org reference, I am sure more of us will be 
looking at it as well.

Have a great day,

md

On 8/24/2015 9:32 AM, Thiago Macieira wrote:
> On Monday 24 August 2015 06:16:55 md at rpzdesign.com wrote:
>> Would you be interested in sharing your solution
>> to the switch(STRING) problem?
>
> It's been posted several times to the C++ discussion lists:
>
> 	string_switch(string,
> 		do_case(value1, [] { do1(); }),
> 		do_case(value2, [=] { do2(string); }),
> 		do_case(value3, [&] { string.clear(); }
> 	);
>
> This gets posted every time someone proposes switching on non-primitive types.
> Just search std-discussion and std-proposals (isocpp.org).
>

-- 
No spell checkers were harmed during the creation of this message.



More information about the Interest mailing list