stl-containers ~master
D bindings/wrapper for STL containers
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Original pull requests
https://github.com/dlang/druntime/pull/2448
https://github.com/dlang/druntime/pull/2456
https://github.com/dlang/druntime/pull/2310
STATUS
- almost builds on Windows - just need to install Visual D on CI. however Manu says tests pass on Windows for vector, string, optional
TODO
Build
Finish Windows Build and CI - need to install Visual D from command line (@rmanthorpe) Write builds for Linux, Android, OSX, FreeBSD
Implementation
- Key container not implemented at all yet: unordered map
- std::string and std:optional complete for Linux and Windows
- std::vector is only complete for Windows and should be done for Posix, OSX, BSD. gcc held back by internal struct pointer (awaiting implementation of OpMove hook); clang just needs somebody to do the work.
- std::string and std::optional are implemented on Windows and Linux and should be done for Posix, OSX, (BSD?)
- std::optional only works for POD due to D unions
Tests
- tests pass only for Windows currently and only on Manu's machine (maybe others, but nobody has checked yet)
Contributing
Pull requests welcomed.
Code of conduct
Same as the D forum - be civilised.
- ~master released 5 years ago
- dlang-cpp-interop/stl-containers
- MIT
- Copyright © 2019, Manu Evans
- Authors:
- Dependencies:
- none
- Versions:
-
0.0.0 2019-May-28 ~master 2019-May-31 ~cmake-d 2019-May-20 ~Laeeth-patch-5-1 2019-May-27 ~Laeeth-patch-5 2019-May-27 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
6894 downloads total
-
- Score:
- 1.4
- Short URL:
- stl-containers.dub.pm