Šimon TóthDaily bit(e) of C++ | std::binary_searchDaily bit(e) of C++ ♻️225, The O(logn) presence check algorithm on at least partitioned data: std::binary_search.13h ago13h ago
Šimon TóthDaily bit(e) of C++ | std::endianDaily bit(e) of C++ ♻️130, Compile-time information about the endianness of a system using C++20 std::endian.1d ago1d ago
Šimon TóthDaily bit(e) of C++ | std::views::strideDaily bit(e) of C++ ♻️82, The C++23 view of every n-th element in a range: std::views::stride.2d ago2d ago
Šimon TóthDaily bit(e) of C++ | type taggingDaily bit(e) of C++ ♻️120, Distinguishing function overloads that fully overlap using type tagging.3d ago3d ago
Šimon TóthDaily bit(e) of C++ | init statementsDaily bit(e) of C++ ♻️125, Creating local variables using init statements in if (C++17), switch (C++17) and range-for loop (C++20)…4d ago4d ago
Šimon TóthDaily bit(e) of C++ | std::views::chunk_byDaily bit(e) of C++ ♻️89, Splitting a range into chunks based on a predicate using std::views::chunk_by.5d ago5d ago
Šimon TóthDaily bit(e) of C++ | raw string literalsDaily bit(e) of C++ ♻️146, Avoiding the need to escape special characters using raw string literals.6d ago6d ago
Šimon TóthDaily bit(e) of C++ | [[no_unique_address]]Daily bit(e) of C++ ♻️129, Avoiding the overhead of empty generic type members using the C++20 [[no_unique_address]].Jul 17Jul 17
Šimon TóthDaily bit(e) of C++ | dependency injectionDaily bit(e) of C++ ♻️117, Decoupling a component from the concrete implementation of a dependency using dependency injection.Jul 16Jul 16
Šimon TóthDaily bit(e) of C++ | std::views::zipDaily bit(e) of C++ ♻️116, The C++23 view that produces a “zipped” view over multiple ranges: std::views::zip.Jul 15Jul 15