Home

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.

previous
next

Re: adding a static class to another class
Re: Boost Logging Lib, v2
catch the return value of int
Re: list index()
can't import SimpleXMLRPCDisptacher from SimpleXMLRPCServer
Rodzic Po Ludzku
Krwinka
Fundacja Hobbit
Mam Marzenie
Fundacja Iskierka