/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

0xd34df00d.me
| | www.foonathan.net
4.3 parsecs away

Travel
| | In my previous blog post, weve discussed the static constexpr std::integral_constant idiom to specify the size of a range at compile-time. Unlike the standard, our (think-cells) ranges library at think-cell already supports compile-time sizes natively, so I was eager to try the idiom there and see how it works out in practice. namespace tc { template constexpr auto size(Rng&& rng); // runtime-size of a range, like std::ranges::size template requires tc::has_constexpr_size constexpr auto constexpr_size = ...
| | www.think-cell.com
3.5 parsecs away

Travel
| | [AI summary] The blog post discusses techniques for implementing compile-time size calculations for range adaptors in C++ using think-cell's library, focusing on forwarding size properties and avoiding code duplication.
| | mpark.github.io
4.4 parsecs away

Travel
| | Can we work around the limitations of non-type template parameters?
| | jaredonline.svbtle.com
19.2 parsecs away

Travel
| UPDATE: A few hours after posting the initial draft of this I realized my PHP benchmark was broken. I've since updated the PHP and Rust versions to be more fair. You can see the changes in the GitHub repo (link at the bottom). Last October I had a... | Jared McFarland | Programmer, feminist, classical guitarist, cyclist. Person.