olexander_dan

Untitled

May 6th, 2019
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. #pragma once
  2.  
  3. class VList {
  4. public:
  5.     VList() = default;
  6.     VList(size_t);
  7.     VList(const VList&) = delete;
  8.     VList(VList&&) noexcept;
  9.     ~VList();
  10.     void add(size_t v);
  11.     bool notEmpty();
  12.     void output(std::ofstream& f);
  13. protected:
  14.     size_t nmax, n;
  15.     size_t* vList;
  16. };
Advertisement
Add Comment
Please, Sign In to add comment