On Sat, 06 Nov 2010 14:06:20 +0300, Christopher Bergqvist <[email protected]> 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) { .. }

Reply via email to