dlang-community / experimental.xml

A replacement of Phobos std.xml
https://rawgit.com/dlang-community/experimental.xml/gh-pages/index.html
Boost Software License 1.0
11 stars 8 forks source link

Question on memory safety and purity #27

Open ZILtoid1991 opened 5 years ago

ZILtoid1991 commented 5 years ago

If we don't plan to operate with pointers in this library, we can mark it with @safe.

Also any function that doesn't access static members can be marked as pure, unless there's some dependency without that in Phobos.

burner commented 5 years ago

please feel free to create PRs