Okay, what happened to my literal strings?

BCS ao at pathlink.com
Thu Sep 6 16:33:45 PDT 2007


Reply to Robert,

>  D's const _is_ enforceable (well, const isn't, since it can be cast away

the only way to fully enforce const is to make refs a totally opaque type, 
disallow ASM etc. One of my first thoughts on seeing const in C++ was how 
easy it would be to get around it with sprintf/sscanf. 





More information about the Digitalmars-d mailing list