-
- [ ] STL: [proposal: increase scope to cover stl · Issue #3 · kaushalmodi/std_vector](https://github.com/kaushalmodi/std_vector/issues/3)
- [ ] https://github.com/BigEpsilon/nim-cppstl
- [ ] [Nimbo…
-
Hi there, I'm getting multiples errors while compiling a dll
my ffi.nim files only contains an import:
`import cppstl/std_string`
compile:
>nim c --cpu:i386 -d:release --app:lib --nomain ffi…
-
```nim
type
NimObject {.exportc: "NimObject".} = object
field: int
proc `=destroy`(obj: var NimObject) {.exportc: "destroy_NimObject".} =
echo "Called nim destructor for ", obj.field
…
-
**$ nano main.nim**
```
import cppstl/std_pair
type
Person = object
id: int
name: string
when isMainModule:
var p = initCppPair[Person,uint64](Person(id:123, name:"Joe"), 321)
…
-
continuing of https://github.com/kaushalmodi/std_vector/issues/4 since the other repo was merged here
## example
```nim
when defined case2:
import cppstl/std_vector
type Foo = object
x: …
-
- [x] `SizeType* = uint` is incorrect
use `SizeType* = csize_t` instead (only incorrect in case std::vector is created with a custom size_type, but your API doesn't expose that anyways, and it'd be a…
-
idea:
* turn this repo into a single monorepo `cpp_stl` (which would grow over time; IMO next big thing is `std::string`) (and yes, I know about `My goal is not to create a wrapper that wraps to 100%…
-
```nim
when true: # D20200511T194815:here gitissue
import pkg/std_vector
type Foo = object
x: int
proc `=destroy`*(a: var Foo) {.inline.} =
echo ("in destroy", a.x)
proc main =
…
-
Ref: https://github.com/kaushalmodi/std_vector/issues/6#issuecomment-636280871
-
https://gist.github.com/genotrance/fb53504a4fba88bc5201d3783df5c522
Ref: https://gitter.im/nim-lang/Nim?at=5ebeb4de347a503172f1c47e