Docs
  1. 🏠
  2. | Hyde Sample Docs
  3. | point.cpp
  4. | point<T>
🌖

point<T>

Defined in <point.cpp>

An example point class

template <class T>
struct point;

Member Fields

Field Type Notes
x T

The x coordinate of the point.

y T

The y coordinate of the point.

Member Functions

(constructor) (2 overloads)
operator-=

Subtraction-assignment operator.

​
origin

A static routine that returns the origin point.

​

Functions

operator!=

Inequality operator.

​
operator-

Subtraction operator.

​
operator==

Equality operator.

​

Hyde Example Docs — Website showing a possible Jekyll-formatted hyde output.

Page owner(s): __MISSING__ Last updated 2024-10-01 15:42:11 +0000