MCPcopy Create free account
hub / github.com/catboost/catboost / GetChar

Method GetChar

library/cpp/getopt/small/last_getopt_opt.cpp:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 }
29
30 char TOpt::GetChar() const {
31 if (Chars_.empty())
32 ythrow TConfException() << "no char for option " << this->ToShortString();
33 return Chars_.at(0);
34 }
35
36 char TOpt::GetCharOr0() const {
37 if (Chars_.empty())

Callers 1

Calls 4

ToShortStringMethod · 0.95
TConfExceptionClass · 0.85
emptyMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected