|
You are here |
www.think-cell.com | ||
| | | | |
akrzemi1.wordpress.com
|
|
| | | | | This post has been inspired by the readers' questions about using concepts to solve real problems. We will have a look at two such problems and see if, and how, concepts can help. Case Study 1 My concept has two functions: one produces a value, and the other one later consumes this value: How to... | |
| | | | |
www.fluentcpp.com
|
|
| | | | | Do you know how to partially specialize all the kinds of templates in C++? Check out this post for how to do it while keeping your code clear. | |
| | | | |
www.foonathan.net
|
|
| | | | | 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 = ... | |
| | | | |
pagefault.blog
|
|
| | | C++11 move semantics can be a source of misunderstandings if the mechanics are not understood. This post clears up the most common one. | ||