SList container problem
ted via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Aug 13 01:40:13 PDT 2015
have upgraded from 2.066.1 to 2.068.0, and have a change in behaviour:
import std.container: SList;
void main()
{
SList!int tmp;
tmp.insertAfter( tmp[], 3 );
}
used to work happily with dmd2.066.1, causes assert
(core.exception.AssertError at std/container/slist.d(57): Assertion failure)
in 2.068.0 (also 2.067.1).
There was a change in slist.d in 2.067. Am I no longer able to start from
an empty list?
--ted
More information about the Digitalmars-d-learn
mailing list