Content deleted Content added
→Reflection: example from the proposal paper |
|||
Line 669:
Creating an annotation to generate a specialisation for <code>std::formatter<T></code> is as follows:
<syntaxhighlight lang="cpp">
template <auto V>
struct Derived { template <auto V> inline constexpr Derived<V> Derive;▼
template <auto V>
inline constexpr struct {} Debug;
|