Hi.
I want to better understand const function like:
bool validate() const {
return transition ? true : false;
}
how act the const attribute in this case, and is adding it have an effect on code execution (speed, ram or program space)?
Thanks
Hi.
I want to better understand const function like:
bool validate() const {
return transition ? true : false;
}
how act the const attribute in this case, and is adding it have an effect on code execution (speed, ram or program space)?
Thanks