<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/september-16-2026-pfsk1ai2l" -->

---
title: September 16, 2026 | daily.dev
description: A brief note comparing C++ magic statics (thread-safe static local initialization) with std::call_once, pointing out they achieve similar...
canonical: https://daily.dev/posts/september-16-2026-pfsk1ai2l
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: September 16, 2026 | daily.dev
og:description: A brief note comparing C++ magic statics (thread-safe static local initialization) with std::call_once, pointing out they achieve similar...
og:url: https://daily.dev/posts/september-16-2026-pfsk1ai2l
og:image: https://api.daily.dev/og/posts/PFsk1AI2L.png
og:image:alt: September 16, 2026
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# September 16, 2026

**[The Old New Thing](https://daily.dev/sources/oldnewthing)** · 1 min read · 0 upvotes · 0 comments

## Summary

A brief note comparing C++ magic statics (thread-safe static local initialization) with std::call_once, pointing out they achieve similar one-time-initialization behavior but differ in implementation and semantics.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://devblogs.microsoft.com/oldnewthing/20260916-00>

## Similar posts on daily.dev

- [September 17, 2026](https://daily.dev/posts/september-17-2026-qc5lthami) · The Old New Thing · 0 upvotes · 0 comments
- [September 18, 2026](https://daily.dev/posts/september-18-2026-c1vxqpg7j) · The Old New Thing · 0 upvotes · 0 comments
- [September 28, 2026](https://daily.dev/posts/september-28-2026-3t4ojpqln) · The Old New Thing · 0 upvotes · 0 comments
- [Best performance of a C\+\+ singleton](https://daily.dev/posts/best-performance-of-a-c-singleton-xezmghtqp) · Andreas Fertig · 0 upvotes · 0 comments
- [Things C\+\+26 define\_static\_array can’t do](https://daily.dev/posts/things-c-26-define-static-array-can-t-do-2giw9bxfw) · Arthur O'Dwyer · 0 upvotes · 0 comments

---

Tags: [#c++](https://daily.dev/tags/c++)

[View this post on daily.dev](https://daily.dev/posts/september-16-2026-pfsk1ai2l)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"September 16, 2026","url":"https://daily.dev/posts/september-16-2026-pfsk1ai2l","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/september-16-2026-pfsk1ai2l"},"datePublished":"2026-09-17T14:24:28.295Z","dateModified":"2026-09-17T14:46:57.027Z","description":"A brief note comparing C++ magic statics (thread-safe static local initialization) with std::call_once, pointing out they achieve similar...","image":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","thumbnailUrl":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","isAccessibleForFree":true,"articleSection":"The Old New Thing","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"The Old New Thing","logo":"https://media.daily.dev/image/upload/s--jKXDeorG--/f_auto,q_auto/v1783840773/logos/oldnewthing?_a=BAMAMicg0","url":"https://daily.dev/sources/oldnewthing"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/september-16-2026-pfsk1ai2l","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"c++","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"The Old New Thing","item":"https://daily.dev/sources/oldnewthing"},{"@type":"ListItem","position":3,"name":"September 16, 2026"}]}
```

