Skip to content

Commit 676daec

Browse files
committed
Tweaks
1 parent 0797c34 commit 676daec

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

_posts/2026-02-26-power-of-substitute.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ tags:
99
pubdraft: yes
1010
---
1111

12-
My CppCon 2025 talk, [Practical Reflection](https://youtu.be/ZX_z6wzEOG0), is now online. Check it out!
12+
> My CppCon 2025 talk, [Practical Reflection](https://youtu.be/ZX_z6wzEOG0), is now online. Check it out!
13+
{:.prompt-info}
1314

1415
Over winter break, I started working on proposal for [string interpolation](https://wg21.link/p3951). It was a lot of fun to work through implementing, basically an hour a day during my daughter's nap time. The design itself is motivated by wanting to have a lot more functionality other than just formatting — and one of the examples in the paper was implementing an algorithm that does highlighting of the interpolations, such that:
1516

@@ -485,8 +486,10 @@ auto highlight_print(fmt::text_style style,
485486
fmt.impl(style, (Ts&&)args...);
486487
}
487488
```
489+
{: data-line="5" .line-numbers }
490+
488491
489-
And [we're done](https://compiler-explorer.com/z/6TacheKsv). It actually works.
492+
And [we're done](https://compiler-explorer.com/z/zMPnsaqfa). It actually works.
490493
491494
## Conclusion
492495

0 commit comments

Comments
 (0)