C++20 lets values enter the type system. This is the gateway to dependent types — Pi types, Sigma types, and the calculus of constructions. The compiler becomes a staged computation engine.
Posts tagged “nttp” (3)
String literals live at compile time. With the right tools, you can parse them, validate them, and turn them into optimized code — all before your program runs.
Templates aren't generics. They're a code generation system disguised as a type system feature.