September 12, 2021 [Issue 22299] New: RedBlackTree.empty missing "const" annotation | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22299 Issue ID: 22299 Summary: RedBlackTree.empty missing "const" annotation Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW Severity: major Priority: P3 Component: phobos Assignee: nobody@puremagic.com Reporter: eyal@weka.io This does not compile: const(RedBlackTree!int) tree; assert(tree.empty); // "empty" not valid on a const object -- |
Copyright © 1999-2021 by the D Language Foundation