<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on /dev/null notes</title><link>https://dev0notes.com/posts/</link><description>Recent content in Posts on /dev/null notes</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 12 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://dev0notes.com/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Recursive lambdas in C++</title><link>https://dev0notes.com/posts/2026-06-12-recursive_lambdas/</link><pubDate>Fri, 12 Jun 2026 00:00:00 +0000</pubDate><guid>https://dev0notes.com/posts/2026-06-12-recursive_lambdas/</guid><description>&lt;p&gt;There are algorithms that have a natural &lt;em&gt;recursive&lt;/em&gt; representation and are very cumbersome or painful to write iteratively. With the advent of lambda expressions in C++11, it seemed only natural that they should support recursive calls. But reality hit hard: recursion and lambdas didn&amp;rsquo;t mix at all until C++14, and even then the support was far from programmer-friendly. The newest C++ edition finally brings the possibility of creating a recursive lambda to the table.&lt;/p&gt;</description></item><item><title>Annotations in C++26 static reflection</title><link>https://dev0notes.com/posts/2026-06-06_annotations/</link><pubDate>Sat, 06 Jun 2026 00:00:00 +0000</pubDate><guid>https://dev0notes.com/posts/2026-06-06_annotations/</guid><description>&lt;p&gt;&lt;em&gt;C++26&lt;/em&gt; added static reflection to the already big bag of compile-time features. One of the most powerful tools that made it into the language is the ability to use custom annotations and to inspect them at compile time. Here, we will see how to define and use annotations, and how to pass various arguments to them that can be extracted through reflection.&lt;/p&gt;</description></item></channel></rss>