A close reading of a Chromium commit by Peter Kasting that added a converting constructor from initializer_list to base::span, mirroring the C++26 P2447 proposal. The post walks through real call sites in the codebase that were simplified by the new constructor, showing how three different workarounds (temporary std::array,

3m read timeFrom quuxplusone.github.io
Post cover image

Sort: