Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add name to base class descriptors #33

Open
pdimov opened this issue Oct 1, 2022 · 2 comments
Open

Add name to base class descriptors #33

pdimov opened this issue Oct 1, 2022 · 2 comments

Comments

@pdimov
Copy link
Member

pdimov commented Oct 1, 2022

The macros receive it, and the reflection TS also provides it.

@reddwarf69
Copy link

reddwarf69 commented Aug 1, 2023

What about the name of the main class?

I could make use of it in something like https://www.boost.org/doc/libs/1_82_0/libs/describe/doc/html/describe.html#example_fmtlib_class_formatter. typeid(t).name() is not the same.

(or should this be handled via https://www.boost.org/doc/libs/release/doc/html/boost_typeindex.html ?)

@pdimov
Copy link
Member Author

pdimov commented Aug 1, 2023

Makes sense in principle but I'd need to add another primitive, describe_type<T>, from which to return it, as there's no good place for it in the existing ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants