寧ろそのケースは
--
bool F(bool b)
{
if(b){
return true;
}
return false;
}
--
こうとか
--
bool F(bool b)
{
return b;
}
--
こう書かないか?