[Patch] libstdc++/29989

Paolo Carlini pcarlini@suse.de
Mon Dec 4 18:36:00 GMT 2006


Martin Sebor wrote:

> FWIW, we simply parenthesize the names:
>
>   template <class T, class Compare>
>   const T& (min)(const T&, const T&, Compare);
>
>   template <class T>
>   const T& (min)(const T &a, const T &b) {
>       return (min)(a, b, less<T>());
>   }

Crazy, thanks Martin, today in a few minutes I'm learning more about 
these issues than in the rest of my past life ;)

Paolo.



More information about the Libstdc++ mailing list