MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / GetX

Method GetX

tests/constexprPoint.cpp:5–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3 constexpr Point(double x, double y) noexcept : mX(x), mY(y) {}
4
5 constexpr double GetX() const noexcept { return mX; }
6 constexpr double GetY() const noexcept { return mY; }
7
8 constexpr void SetX(double x) noexcept { mX = x; }

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected