can't differentiate between Bool and int when overloading function

Mar 20, 2016 at 7:19pm
I read something like this
"can't differentiate between Bool and int when overloading function"

can anyone tell me this with an example ?
Mar 20, 2016 at 7:35pm
Where did you read it?
Mar 21, 2016 at 5:06am
a booked called "more effective c++"
Mar 21, 2016 at 8:51am
The book talks about ways to fake bools (using enumerations or integer constants) in case you compiler doesn't have support for the bool type. If that is the case I think a much better solution is to upgrade your compiler. All modern compilers can handle bools without problems.
Mar 22, 2016 at 5:00am
@peter87, Thanks
Topic archived. No new replies allowed.