On 2016-01-04 00:50, Andrei Alexandrescu wrote:

This may in fact be good signal that an approach based on expression
templates is not the most appropriate for D. -- Andrei

This whole thread has already discussed and showed that D operator overloading is lacking in terms of expression templates. The post by Chris assumes no language changes. If D supported overloading all operators the opEquals method would not return true, it would return a proxy that overloaded the || operator. The whole lambda expression would only generate a single query. The rest of the post falls apart from this mistake.

--
/Jacob Carlborg

Reply via email to