Search Results

Search found 1 results on 1 pages for 'greenguy1090'.

Page 1/1 | 1 

  • Default value for bool in c++

    - by greenguy1090
    I'm redesigning a class constructor in C++ and need it to catch an unspecified bool. I have used default values for all of the other parameters, but from my understanding bool can only be initialized to true or false. Since both of those cases have meaning in the class, how should I handle checking for change from a default value?

    Read the article

1