cpp26-adapter
Turn your LLM coding assistant into a C++26 specialist.
A Claude Code plugin (and standalone MCP server) that biases generation toward ISO/IEC 14882:2026 final-form idioms — reflection, contracts, senders, inplace_vector, #embed — even when your local clang hasn't caught up.
Quick Start
Full plugin (Claude Code — skill + MCP + reviewer + hooks + slash command):
/plugin marketplace add parasxos/claude-plugins
/plugin install cpp26-adapter@parasxos/claude-pluginsMCP server only (any MCP-compatible client):
pip install cpp26-refWhat it does
Six concrete idiom shifts on the same prompts a vanilla LLM would answer with pre-C++26 patterns:
| You ask for… | Vanilla LLM emits | cpp26-adapter emits |
|---|---|---|
| enum → string | X-macros / magic_enum |
std::meta::enumerators_of(^^E) + template for |
| precondition | assert(x > 0) |
pre(x > 0) / contract_assert(...) |
| async pipeline | std::async(...) |
ex::just | ex::then | ex::sync_wait |
| fixed-capacity vector | boost::static_vector |
std::inplace_vector<T, N> |
| embed binary asset | objcopy / xxd / incbin |
#embed "asset.bin" |
| Nth pack element | std::get<N>(std::forward_as_tuple(args...)) |
args...[N] |






