// wro.cpp · established 2021

Modern C++
from Wrocław.

Modern C++ for production. Safety, performance, security, and the tooling that makes C++ ship in cars, trading systems, and hospitals. Flagship posts in English; community chat in Polish, over on Slack.

posts 181flagship 73short 108reflection-series 36/18events 24slack wrocpp.slack.com · meetup wro-cpp
01Latest posts
all posts →
/short

Reflection can flag a dangling signature that GCC 16.2 does not warn about

A reflection lint of under 60 lines flags 3 of 5 declarations in a namespace on GCC 16.2: two return a view of a by-value owner, one returns a reference that can bind a temporary. For the view case GCC 16.2 gives no warning with -Wall -Wextra, a plain run prints garbage, and AddressSanitizer reports a heap use after free.

  • #news
  • #cpp26
  • #reflection
  • #safety
/short

A type that is trivially copyable and cannot be copied

std::is_trivially_copyable answers a narrower question than its name suggests. There is a type for which it is true while the type is neither copy-constructible nor copy-assignable, MSVC says so, GCC and Clang disagree, and the paper that documents it says MSVC is the one following the standard.

  • #cpp
  • #type-traits
  • #msvc
  • #gcc
/short

Catch2 3.16 fixes a bug that shipped with the feature

A maintenance release with no new API. The interesting entry is that catch_discover_tests has been splitting test names containing semicolons since the first version of the script, which is a long time for a bug to survive by only affecting people who punctuate their test names.

  • #news
  • #catch2
  • #testing
  • #cmake
/short

Read what three September pages say about Rust and Swift meeting C++

Three September 2026 pages describe toolchain work at the Rust and Swift boundary with C++: a Microsoft guest post, a Rust Foundation interop update and the Swift 6.4 release post. This post says what each page states, what it leaves out, and that the Swift page names no compiler flags.

  • #news
  • #interop
  • #rust
  • #swift
/short

Profiles now run on Compiler Explorer: what P4415R0 reports and what I ran on both builds

P4415R0 reports two working implementations of C++ profiles, one in a Clang fork and one in a GCC fork, both on Compiler Explorer. I ran examples from the paper on both builds on 25 October. The GCC build rejects an unmarked owning factory, a leaked owner, a vector pointer used after push_back and a returned local address under the invalidation profile. The Clang build has no such profile and compiles the same file without complaint.

  • #news
  • #wg21
  • #profiles
  • #safety
/short

Sort a QRangeModel in Qt 6.12 without a proxy model

Qt 6.12.0 on Compiler Explorer sorts a std::vector of tuples through QRangeModel::sort(), and the same program on Qt 6.11.0 leaves the order unchanged. The post reports what the Qt 6.12 LTS pages say about QRangeModel, Canvas Painter, QtGrpc compression, the C++17 requirement and the 5-year maintenance period.

  • #news
  • #qt
  • #qt6
  • #lts
02What to expect
wednesday · flagship

Long-form technical posts

Hands-on deep dives with runnable code: C++26 reflection, language features, patterns, case studies from local shops.

monday · short

"C++ This Fortnight"

Curated news, tool spotlights, conference talk picks, tiny patterns worth sharing.

monthly · events

Meetups & talks

Monthly online meetups streamed on YouTube + quarterly in-person at local venues in Wrocław.

evergreen · toolset

Reference + recipes

Compiler support, AI agents, local LLMs, sanitizers, profiling, hardened stdlib, qualified compilers. Premium open-source first;browse the hub.