Mercurial > hg > octave-nkf
diff liboctave/Array.h @ 8725:d5af326a3ede
[mq]: sort-traits
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 12 Feb 2009 02:49:14 -0500 |
parents | e9cb742df9eb |
children | de16ebeef93d |
line wrap: on
line diff
--- a/liboctave/Array.h +++ b/liboctave/Array.h @@ -34,6 +34,7 @@ #include "dim-vector.h" #include "idx-vector.h" +#include "lo-traits.h" #include "lo-utils.h" #include "oct-sort.h" #include "quit.h" @@ -101,6 +102,9 @@ typedef T element_type; + typedef bool (*compare_fcn_type) (typename ref_param<T>::type, + typename ref_param<T>::type); + protected: typename Array<T>::ArrayRep *rep;