
20 May
2008
20 May
'08
2:16 p.m.
Alex MDC schrieb:
You could try something like: if ((a_tribool == true) || *a_bool_pointer) to convert the left-hand side back to a native bool and get the short-circuiting.
This doesn't help either because operator== is overloaded and returns again a tribool. -- Klaus