zipkin_opentracing/src/propagation.cc
static bool parseBool(ot::string_view s, bool &result) {
  if (s == "1" || s == "t" || s == "T" || s == "TRUE" || s == "true" ||
      s == "True") {
    result = true;
    return true;
  }
  if (s == "0" || s == "f" || s == "F" || s == "FALSE" || s == "false" ||
      s == "False") {
    result = false;
    return true;
  }
  return false;
}
// Follows the rules of the go function strconv.ParseBool so as to interoperate
// with the other Zipkin tracing libraries.
// See https://golang.org/pkg/strconv/#ParseBool
Follows the rules of the go function strconv.ParseBool so as to interoperate
with the other Zipkin tracing libraries.
Follows the rules of the go function strconv . ParseBool so as to interoperate with the other Zipkin tracing libraries .
static bool parseBool(ot::string_view s, bool &result) {
  if (s == "1" || s == "t" || s == "T" || s == "TRUE" || s == "true" ||
      s == "True") {
    result = true;
    return true;
  }
  if (s == "0" || s == "f" || s == "F" || s == "FALSE" || s == "false" ||
      s == "False") {
    result = false;
    return true;
  }
  return false;
}
static bool parseBool ( ot :: string_view s , bool & result ) { if ( s == " " || s == " " || s == " " || s == " " || s == " " || s == " " ) { result = true ; return true ; } if ( s == " " || s == " " || s == " " || s == " " || s == " " || s == " " ) { result = false ; return true ; } return false ; }
Follows the rules of the go function strconv.ParseBool so as to interoperate
with the other Zipkin tracing libraries.
Follows the rules of the go function strconv . ParseBool so as to interoperate with the other Zipkin tracing libraries .