commit 741632aafe2940da15317b63b9f78fbf339cf331 parent 53bda8c14e568e2dc00ef622cb9541de65d55a41 Author: Michael Savage <mikejsavage@gmail.com> Date: Thu Dec 15 21:14:32 +0200 Another NONCOPYABLE Diffstat:
array.h | | | 2 | ++ |
diff --git a/array.h b/array.h @@ -135,6 +135,8 @@ private: template< typename T, size_t N > class StaticArray : public array< T > { public: + NONCOPYABLE( StaticArray ); + StaticArray() : array< T >() { array< T >::elems = elems_memory; array< T >::n = N;