logoalt Hacker News

whizzter • today at 12:49 AM • 0 replies • view on HN

I think you should reconcile with Clang and hope that they can work on performance for LSP tasks, because while C++ 26 reflections does a lot of "conservative" things right, it also enabled consteval to create structures with novel shapes, so you need consteval in an indexer.

ie.

auto val = make_named<"x","y">(1, 2.3);

// val is now a struct with an integer field named x and a double field named y