Re: (Boost) Reflecto

Andrey Semashev via Boost <[email protected]>
Newsgroups gmane.comp.lib.boost.devel
Message-ID <[email protected]>
On 4 Apr 2026 21:47, Emil Dotchevski via Boost wrote:
> I wrote a small constexpr type/enum reflection library which I think may be
> a good addition to Boost. It needs C++17, although it relies on
> implementation-specific support (works on gcc, clang and msvc).
> 
> https://github.com/zajo/reflecto

Why are the enum_lookup_range limits necessary? As far as I could tell
from my brief glance at the code, you simply cut the enum value names
from function signature strings, no actual lookup is involved, so why
the limits?

Also, since the library only deals with producing name strings for types
and enum values, I think Reflecto is a bit ambitious name. I would
expect more advanced features from a reflection library, e.g. the
ability to iterate over enum values or struct data members.

_______________________________________________
Boost mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.boost.org/mailman3/lists/boost.lists.boost.org/
Archived at: https://lists.boost.org/archives/list/[email protected]/message/UV4DKZUIIZUF6C5Y7KQTYKDYRNZVKCLF/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.