Native VBS and CMake builds of the server and every registered suite: protocol and document sync, VBS/compdb providers, stock GCC diagnostics (including in-process default profile preparation), the stock occurrence observer and hover/definition, the bounded Scheduler, C++ module graph, scan and artifact cache with real CMI production, the context-aware symbol index with schema-2 snapshot migration, navigation and guarded rename, reflection provenance with splice-origin extraction, index-backed completion and signature help, live GCC worker control with a registered DAP suite, and the Neovim and VS Code clients. VoidLibrary follows main. The private GCC 16.2.0 frontend is reproduced from the versioned patches and verified stepping reflection/template code with projected values 17/34 and 41/82.
11 lines
313 B
C++
11 lines
313 B
C++
#include <meta>
|
|
|
|
enum class State { Idle = 3, Ready = 17 };
|
|
consteval int sum() {
|
|
constexpr auto items = std::define_static_array(std::meta::enumerators_of(^^State));
|
|
int total = 0;
|
|
template for (constexpr auto item : items) { total += int([:item:]); }
|
|
return total;
|
|
}
|
|
static_assert(sum() == 20);
|