std::stringを返すよりconst std::string&を返した方が速いのは分かります。
では、
boolを返すのとconst bool&を返すのはどっちが速いですか?
intやcharやdoubleではどうでしょう?