digitalmars.D.learn - What if no const T* const functName(const T&) in D
- Sam Hu <samhu.samhu gmaill.com> Oct 28 2008
- Robert Fraser <fraserofthenight gmail.com> Oct 29 2008
I once heard that one of the most powerful thing in C++ is the lifetime control qualifiers. Why both C# and D abandoned the subjected qualifiers.I was wondering does this abandonment in D really caught a performance penalty compare to C++. Thanks and regards, Sam
Oct 28 2008
Sam Hu wrote:I once heard that one of the most powerful thing in C++ is the lifetime control qualifiers. Why both C# and D abandoned the subjected qualifiers.I was wondering does this abandonment in D really caught a performance penalty compare to C++. Thanks and regards, Sam
If I understand what you're saying, that _is_ in D2: const(T*) functName(const ref T) { }
Oct 29 2008








Robert Fraser <fraserofthenight gmail.com>