Semantics of range::put
Oliver Kanai
oliverkania at googlemail.com
Wed Aug 5 00:45:44 PDT 2009
Hello,
according to my understanding of the "put" method for ranges, which is part of the output-range interface, the following should work :
private string[] m_arrHalloStrings = ["Hallo", "Du", "Da", "wie", "?"];
m_arrHalloStrings.put("Hallo");
it compiles but does not execute:
the compiler gives the message
core.exception.AssertError at std.array(256): Assertion failure
Best regards, Oliver
More information about the Digitalmars-d-learn
mailing list