diff --git a/include/Mod/Mod.hpp b/include/Mod/Mod.hpp index 5d4f892..3108d7b 100644 --- a/include/Mod/Mod.hpp +++ b/include/Mod/Mod.hpp @@ -16,9 +16,10 @@ namespace vl::mod { // --- Contract concepts (NV2 + C2 + lifecycle) --- // Must have T(const Context&) + template concept HasCtorWithContext = - requires(const Context& ctx) { { T{ctx} }; }; + std::constructible_from; // Must provide compile-time identity (SV1) template