MCPcopy Create free account
hub / github.com/CLIUtils/CLI11 / real

Method real

tests/ComplexTypeTest.cpp:164–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 complex_new() = default;
163 complex_new(double v1, double v2) : val1_{v1}, val2_{v2} {};
164 CLI11_NODISCARD double real() const { return val1_; }
165 CLI11_NODISCARD double imag() const { return val2_; }
166
167 private:

Callers 6

AppTest.cppFile · 0.80
NewParseTest.cppFile · 0.80
HelpersTest.cppFile · 0.80
is_complexClass · 0.80
compareMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected