Date: Wed, 16 Oct 2013 10:40:45 -0500
On 16 October 2013 10:37, Gabriel Dos Reis <gdr_at_[hidden]> wrote:
>
> | It would be surprising that:
> |
> | set<T, less<T>> works, but
> | set<T, less<>> does not.
>
> Make T = std::less<std::complex<MyFloat>> and instantiate the argument :-)
>
Neither operator< nor less<complex> is defined by the standard.
>
> | It would be surprising that:
> |
> | set<T, less<T>> works, but
> | set<T, less<>> does not.
>
> Make T = std::less<std::complex<MyFloat>> and instantiate the argument :-)
>
Neither operator< nor less<complex> is defined by the standard.
-- Nevin ":-)" Liber <mailto:nevin_at_[hidden]> (847) 691-1404
Received on 2013-10-16 17:41:28