FFIG / ffig

Generate code to call C++ libraries from other languages
MIT License
29 stars 9 forks source link

Add support to cppmodel to extract template arguments #356

Open ajbennieston opened 6 years ago

ajbennieston commented 6 years ago

We will need to be able to decompose std::optional<T> into std::optional (to dispatch to the appropriate customisation point) and T (for type-specific logic).

libclang provides this information, so we need to capture it when we traverse the AST and include it in the cppmodel we build.