Fix clang compilation
Context
Export did not compile with clang
. This MR is a fix.
Major changes
- [fix] '__restrict' type qualifier does cannot be applied to nullptr
- [fix] a constructor’s name must be the class’s exact name, not an alias/using
- [add] missing includes
- [fix] use C++ types instead of C types (add std::)