Coding standards should adhere to the OSG coding style
int _variableName // note the camel case
// check const correctness - do const wherever possible
int myFunction(const std::string& val) const
{
return 5;
}
//
int myFunction(const std::string& val) const
{
if (val.empty())
{
return -1;
}
return 1
}