Spec#, nullables and more
Denis Koroskin
2korden at gmail.com
Sat Nov 6 04:23:18 PDT 2010
On Sat, 06 Nov 2010 14:06:20 +0300, Christopher Bergqvist
<chris at digitalpoetry.se> wrote:
> Does D have anything comparable to C++ references à la "void
> nullCheckLessFunction(const std::string& notNullStr) {...}" or does it
> only
> have the equivalent of "void nullCheckingRequired(const std::string*
> mightByNullStr) {...}"?
void nullCheckLessFunction(ref const(string) notNullStr) { .. }
More information about the Digitalmars-d
mailing list