x.sizeof vs typeid(x)

Anders Bergh anders1 at gmail.com
Thu Feb 7 19:00:01 PST 2008


On Feb 8, 2008 3:20 AM, Sergey Gromov <snake.scaly at gmail.com> wrote:
> What can I say.  I do not agree.  C++ committee is not the best
> exemplar.  Looking into implementation should be required to learn the
> details, not to understand what the hell is going on.  Creating the DSLs
> should be a privilege of scripting languages, that's what they are for,
> after all.

How is this different from other code? You have to look in any
implementation code to figure out what's going on internally, be it
with syntax sugar or not.

Anders



More information about the Digitalmars-d mailing list