From b38d9929f7a015b56b847fde7e83f814f354497e Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Mon, 11 Nov 2019 17:55:52 +0700 Subject: One does not simply do CP well in NNN --- cpptour/Vector.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpptour/Vector.h') diff --git a/cpptour/Vector.h b/cpptour/Vector.h index c7bbc68..8508503 100644 --- a/cpptour/Vector.h +++ b/cpptour/Vector.h @@ -1,8 +1,11 @@ class Vector { public: Vector (int s); + Vector (std::initializer_list); + ~Vector (); double& operator[] (int i); int size () noexcept; + void push_back (double); private: double* elem; int sz; -- cgit 1.4.1