"Programming in D for C++ Programmers" mistake

Walter Bright newshound2 at digitalmars.com
Thu Dec 2 17:29:14 PST 2010


Sean Eskapp wrote:
> There's a significant issue in the "Programming in D for C++ Programmers"
> article (http://www.digitalmars.com/d/2.0/cpptod.html)
> 
> The Struct Comparison section is quite wrong. In C++, most structs/classes
> automatically generate comparison operators. Also, these comparison operators
> are member functions of the struct, not external functions.


I believe the page is correct. Can you show me in the C++98 Standard where it 
says otherwise?


More information about the Digitalmars-d mailing list