March 11, 2021 [Issue 21700] New: Long deprecated Stopwatch std.datetime is still not removed | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21700 Issue ID: 21700 Summary: Long deprecated Stopwatch std.datetime is still not removed Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: phobos Assignee: nobody@puremagic.com Reporter: andrej.mitrovich@gmail.com ----- // @@@DEPRECATED_2018-10@@@ /* $(RED The old benchmarking functionality in std.datetime (which uses $(REF TickDuration,core,time)) has been deprecated. Use what's in std.datetime.stopwatch instead. It uses $(REF MonoTime,core,time) and $(REF Duration,core,time). See $(REF AutoStart,std,datetime,stopwatch). This symbol will be removed from the documentation in October 2018 and fully removed from Phobos in October 2019.) Used by StopWatch to indicate whether it should start immediately upon construction. If set to `AutoStart.no`, then the stopwatch is not started when it is constructed. Otherwise, if set to `AutoStart.yes`, then the stopwatch is started when it is constructed. */ deprecated("To be removed after 2.094. Use std.datetime.stopwatch.AutoStart instead.") alias AutoStart = Flag!"autoStart"; ----- This is still present in 2.095, and it's been planned to be removed over two years ago. Can we just remove it already? -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply