MCPcopy Create free account
hub / github.com/Apress/beginning-cpp20 / Point

Method Point

Exercises/NoModules/Chapter 15/Soln15_06/Point.h:8–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6{
7public:
8 Point(double x, double y) : m_x{x}, m_y{y} {}
9
10 double getX() const { return m_x; }
11 double getY() const { return m_y; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected