I have a Poly3D class in C++, which has a sole member: list<Point_3>
using namespace std;
struct Poly3D
{
public:
Poly3D(const list<Point_3> &ptList);
private:
list<Point_3> ptList;
};
My question is, how to GET ( in the sense of C#) by reference, so that the same copy with be returned every time I access the Poly3D.ptList?
1 Answer