In article <qjlnd31fhjcbli6h0qd4oga1tjmjf0mqjf@4ax.com>,
me_zara@dea.spamcon.org says...
[ ... ]
> template <class T, T lower, T higher, class less=std::less<T> >
Yeah, I've played with one like that as well. As you note, it does
improve efficiency, and for the exact question that was asked, it works
quite well. The one major shortcoming is that it can't be applied to
floating point types.
--
Later,
Jerry.
The universe is a figment of its own imagination.