dlang-cpp-interop / stl-containers

D bindings to simple STL containers (WIP)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

travis - linux Build Status

appveyor - windows Build status

Original pull requests

dlang/druntime#2448

dlang/druntime#2456

dlang/druntime#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.

About

D bindings to simple STL containers (WIP)

License:MIT License


Languages

Language:D 96.3%Language:C++ 3.3%Language:CMake 0.4%