phobos/phobos
Jonathan M Davis f243f645ad
Add isType to phobos.sys.traits. (#10663)
This is a simple and straightforward trait. It just says whether the
template argument is a type or not. It has the same functionality as the
trait with the same name in std.traits. However, the implementation is
different. The std.traits version just has an alias overload and uses an
is expression, whereas it seemed like it would probably be more
efficient to split the trait into two and have the kind of argument
determine the result, since the compiler has to go through the work of
deciding whether the argument matches already, though I don't know
enough about the compiler implementation to know for sure that this
implementation is better. Either way, it can be changed later if it's
determined that the std.traits implementation is better.
2025-03-08 21:32:45 +08:00
..
sys Add isType to phobos.sys.traits. (#10663) 2025-03-08 21:32:45 +08:00
CONTRIBUTING.md Add Phobos 3 Documentation (#9068) 2024-10-25 01:42:49 -07:00
Design.md Add Phobos 3 Documentation (#9068) 2024-10-25 01:42:49 -07:00
PackageMap.md Add Phobos 3 Documentation (#9068) 2024-10-25 01:42:49 -07:00
README.md Add Phobos 3 Documentation (#9068) 2024-10-25 01:42:49 -07:00

Phobos 3

This repo contains all the code required to build the Phobos Standard Library. This library will supersede the Phobos 2 library contained in the std folder when completed.

Goals

Phobos 3 is currently under active development and is not ready for use at any level. Aside from the DLang forums, the Phobos goals

  • Design Goals This document discusses what the established goals are for Phobos 3.
  • Phobos V3 Discussions Visit the GitHub Discussions to discuss additional design goals as well as specific feature ideas for V3 and beyond.

How can I contribute?

We welcome contributions! Many people all over the world have helped make this project better.

License

Phobos is licensed under the Boost license.