|
You are here |
bannalia.blogspot.com | ||
| | | | |
www.think-cell.com
|
|
| | | | | [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. | |
| | | | |
zverovich.net
|
|
| | | | | [AI summary] The author announces a new feature in the fmt C++ library that performs compile-time validation of format strings using modern constexpr support to improve code safety and usability. | |
| | | | |
www.foonathan.net
|
|
| | | | | The size of std::array is known at compile-time given the type. Yet it only provides a regular .size() member function: template struct array { constexpr std::size_t size() const { return N; } }; This is annoying if you're writing generic code that expects some sort of compile-time sized range. | |
| | | | |
www.cppstories.com
|
|
| | | Variadic Templates from C++11 is probably not a feature that you use on a daily basis. But recently, I've come across one refactoring example where I've decided to give a try and apply variadics. Intro When I was doing some work in some old UI code I've noticed several similar lines of code that looked like that: | ||