Nim wrapper to map with the C++ std::vector
library.
My goal is not to create a wrapper that wraps to 100% of the C++ library.
I will gradually update the wrapper as I find need for procs from the original library.
nimble install https://github.com/kaushalmodi/std_vector
- Compile
nim
with thecpp
backend. Example:nim cpp -r src/std_vector.nim
- https://en.cppreference.com/w/cpp/container/vector
- https://forum.nim-lang.org/t/5787
- nim-lang/Nim#9685 (comment)
- https://forum.nim-lang.org/t/3401
- https://nim-lang.github.io/Nim/manual.html#importcpp-pragma-importcpp-for-objects
- https://nim-lang.github.io/Nim/manual.html#importcpp-pragma-importcpp-for-procs