diff --git a/include/fc/array.hpp b/include/fc/array.hpp index cd1f312..e82782b 100644 --- a/include/fc/array.hpp +++ b/include/fc/array.hpp @@ -32,6 +32,9 @@ namespace fc { template bool operator == ( const array& a, const array& b ) { return 0 == memcmp( a.data, b.data, N*sizeof(T) ); } + template + bool operator < ( const array& a, const array& b ) + { return memcmp( a.data, b.data, N*sizeof(T) ) < 0 ; } template bool operator != ( const array& a, const array& b )