You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SO says it's possible to use const char* as template parameter. Since we need to support C++17 C++20's std::string-in-template-parameter is not something idlgen can enjoy yet.
The text was updated successfully, but these errors were encountered:
It works, but property_name must be defined outside of the class which can leak impl detail/introduce pollution (C++17 doesn't support module yet). Everything "just works" in C++20 though...
Right now the only (popular) feature of midl that requires non-trivial annotation is attribute. Commonly used attribute include:
Is it possible to declare these in C++ as well without needing to write
[[idlgen::attribute("bindable",)]]
? Note that C++ attribute is not extensible.Idea
struct based
SO says it's possible to use const char* as template parameter. Since we need to support C++17 C++20's std::string-in-template-parameter is not something idlgen can enjoy yet.
The text was updated successfully, but these errors were encountered: