bool vs void* casts on the same object – stackoverflow.com

The code below prints 'operator bool' when used in the if statement and 'operator void*' when it needs a bool for function call. Why isn't it using operator bool for the function call too? And how ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "bool vs void* casts on the same object – stackoverflow.com"