User profile: JLBorges

User info
User name:JLBorges
Number of posts:13752
Latest posts:

Exit condition for 'std::unordered_map' iterator loop with a step size > 1
C++23: [code]for( auto&& [k,v] : g_input | std::views::as_const | std::views::stride(3) ) { /* ... ...

Class with iteration capability like std::map
Something along these lines, perhaps: [code]#include <iostream> #include <vector> #include <utility...

Is there integer typedef like size_t for signed values?

add by 4
[code]// Gregorian calender; extra leap day occurs in each year that is // an integer multiple of 4...

Interfacing functions in one class from another
O(1) look up on key; and iteration in insertion order. As in ...