When creating bindings for C++ libraries, the way to go (like nimqml) is to 
first create a C wrapper of the C++ library then use that C library to create 
Nim bindings - C++ is a complex language and many of its constructs are not 
representable in Nim (ie Nim lacks the features to represent them correctly) 
and vice versa (Nim has a few unique features that don't readily map to C++), 
meaning that your wrapper will always be of sub-par quality (C wrappers are 
created in C++ and have full access to all C++ features).

Reply via email to