From 44542adf023315d60a8ffc4863f2b161b3c1eb90 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 15 Apr 2013 23:45:48 -0600 Subject: Addition, subtraction, and multiplication work now Division isn't working yet, there are too many options, I'll figure out something eventually :-P --- src/packedintarray.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/packedintarray.h') diff --git a/src/packedintarray.h b/src/packedintarray.h index 953492b..8fcf794 100644 --- a/src/packedintarray.h +++ b/src/packedintarray.h @@ -9,9 +9,12 @@ public: typedef uint_fast8_t Unit; PackedIntArray( Unit iBitWidth ); PackedIntArray( Unit iBitWidth, int iCapacity ); + PackedIntArray( const PackedIntArray &rSrc ); virtual ~PackedIntArray(); + void clear(); void append( Unit i ); + void remove(); Unit operator[]( int idx ) const { return get( idx ); } Unit get( int idx ) const; Unit set( int idx, Unit i ); -- cgit v1.2.3