Skip to content
D bindings to simple STL containers (WIP)
D C++ CMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
source/core/experimental/stdcpp
tests
.cirrus.yml
.editorconfig
.gitignore
.travis.yml
LICENSE
README.MD
appveyor.yml
dub.sdl
stl-containers.sln
stl-containers.vcxproj
stl-containers.vcxproj.filters

README.MD

travis - linux Build Status

appveyor - windows Build status

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

  1. Key container not implemented at all yet: unordered map
  2. std::string and std:optional complete for Linux and Windows
  3. 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.
  4. std::string and std::optional are implemented on Windows and Linux and should be done for Posix, OSX, (BSD?)
  5. 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.

You can’t perform that action at this time.