arturocepeda / Cflat

Embeddable lightweight scripting language with C++ syntax
49 stars 8 forks source link

Make CflatRegisterSTLVectorCustom work with EASTL vectors #7

Closed RobDangerous closed 1 year ago

RobDangerous commented 1 year ago

vector iterators in EASTL are plain pointers so operator* and friends can't be used. The C++ standard might even allow that (iterators are modeled after pointers after all) but I haven't checked. I also haven't checked that this actually works... but it compiles so I'm sure it'll be fine.

arturocepeda commented 1 year ago

Good stuff!