question about const function... what is ti work exactly

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