mirror of
https://gitee.com/onvia/ccc-tnt-psd2ui
synced 2025-11-07 14:57:03 +00:00
12 lines
248 B
C++
12 lines
248 B
C++
// Copyright (c) 2010 LearnBoost <tj@learnboost.com>
|
|
#pragma once
|
|
|
|
template <typename T>
|
|
class Point {
|
|
public:
|
|
T x, y;
|
|
Point(T x=0, T y=0): x(x), y(y) {}
|
|
Point(const Point&) = default;
|
|
Point& operator=(const Point&) = default;
|
|
};
|