How to annotate in C++26 (1)
This post shows how to use different kinds of annotations in C++. Starting with a simple [[=annotation]], it moves to a more powerful [[=derive(Annotation)]] syntax, and ends up discussing the merits of using stateful annotations, like [[=derive(Annotation(WithSomeValue))]].