describe icon indicating copy to clipboard operation
describe copied to clipboard

Add `name` to base class descriptors

Open pdimov opened this issue 2 years ago • 2 comments

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

pdimov avatar Oct 01 '22 18:10 pdimov

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 ?)

reddwarf69 avatar Aug 01 '23 17:08 reddwarf69

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.

pdimov avatar Aug 01 '23 18:08 pdimov