Commit f4dc4855 authored by Davis King's avatar Davis King

Cleanup

parent d847c130
...@@ -91,6 +91,8 @@ namespace dlib ...@@ -91,6 +91,8 @@ namespace dlib
{} {}
array(const array&) = delete; array(const array&) = delete;
array& operator=(array&) = delete;
array( array(
array&& item array&& item
) : array() ) : array()
...@@ -218,10 +220,6 @@ namespace dlib ...@@ -218,10 +220,6 @@ namespace dlib
T* last_pos; T* last_pos;
mutable bool _at_start; mutable bool _at_start;
// restricted functions
array(array<T>&); // copy constructor
array<T>& operator=(array<T>&); // assignment operator
}; };
template < template <
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment