about summary refs log tree commit diff
path: root/cpptour/Vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpptour/Vector.h')
-rw-r--r--cpptour/Vector.h3
1 files changed, 3 insertions, 0 deletions
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<double>);
+  ~Vector ();
   double& operator[] (int i);
   int size () noexcept;
+  void push_back (double);
 private:
   double* elem;
   int sz;