diff --git a/feed.xml b/feed.xml index 640447d..8e9b0f4 100644 --- a/feed.xml +++ b/feed.xml @@ -7,10 +7,95 @@ en Your weekly dose of modern C++ challenge (Release every Sunday). + 372 - Did you know about C++26 static reflection proposal (7/N)? + https://github.com/tip-of-the-week/cpp/blob/master/tips/372.md + https://github.com/tip-of-the-week/cpp/blob/master/tips/372.md + Sun, 21 Apr 2024 16:16:34 GMT + +

Info + +
Example +
template<class...> struct type_list { };
+
+using type = typename [: // splicer - produces an expression
+      std::meta::substitute(^type_list, // not instantiated
+          std::array{^int, ^float, ^short} // std::array{meta::info}
+    | std::views::reverse // stl.ranges
+    | std::views::drop(1)
+    | std::ranges::to<std::vector>()
+    )
+:];
+
+static_assert(typeid(type) == typeid(type_list<float, int>));
+
+ +
+

https://godbolt.org/z/TTGjxn7h8

+
+
Puzzle +
    +
  • Can you implement meta function which filter types which have value member?
  • +
+
template<class...> struct type_list { };
+
+template<class... Ts>
+using filter; // TODO
+
+struct foo { int value; };
+struct bar { };
+
+static_assert(typeid(filter<int>) == typeid(type_list<>));
+static_assert(typeid(filter<foo>) == typeid(type_list<foo>));
+static_assert(typeid(filter<bar, foo>) == typeid(type_list<foo>));
+static_assert(typeid(filter<int, double, foo, bar>) == typeid(type_list<foo>));
+static_assert(typeid(filter<int, double, bar>) == typeid(type_list<>));
+
+ +
+

https://godbolt.org/z/er9GjWMMK

+
+

+
Solutions +
template<class...> struct type_list { };
+
+template<class T>
+concept has_value = requires(T t) { t.value; };
+
+template<class... Ts>
+using filter = typename [: std::meta::substitute(^type_list,
+    std::array{^Ts...}
+  | std::views::filter([](auto m) { return test_type(^has_value, m); })
+  | std::ranges::to<std::vector>())
+:];
+
+struct foo { int value; };
+struct bar { };
+
+static_assert(typeid(filter<int>) == typeid(type_list<>));
+static_assert(typeid(filter<foo>) == typeid(type_list<foo>));
+static_assert(typeid(filter<bar, foo>) == typeid(type_list<foo>));
+static_assert(typeid(filter<int, double, foo, bar>) == typeid(type_list<foo>));
+static_assert(typeid(filter<int, double, bar>) == typeid(type_list<>));
+
+ +
+

https://godbolt.org/z/EMnrjabfK

+
+

+]]>
+
+ 371 - Did you know that C++26 added `= delete("should have a reason")`? https://github.com/tip-of-the-week/cpp/blob/master/tips/371.md https://github.com/tip-of-the-week/cpp/blob/master/tips/371.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

Info
    @@ -71,7 +156,7 @@ int main() { 370 - **Did you know that C++26 added `span.at`? https://github.com/tip-of-the-week/cpp/blob/master/tips/370.md https://github.com/tip-of-the-week/cpp/blob/master/tips/370.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

    Info
      @@ -153,7 +238,7 @@ int main() { 369 - Did you know that C++17 added Hardware interference size? https://github.com/tip-of-the-week/cpp/blob/master/tips/369.md https://github.com/tip-of-the-week/cpp/blob/master/tips/369.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

      Info
        @@ -208,7 +293,7 @@ static_assert(std::hardware_destructive_interference_size == alignof(cache_align 368 - Did you know that C++23 added Explicit lifetime management (1/N)? https://github.com/tip-of-the-week/cpp/blob/master/tips/368.md https://github.com/tip-of-the-week/cpp/blob/master/tips/368.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

        Info
          @@ -301,7 +386,7 @@ int main() { 367 - Did you know about C++26 simd proposal (1/N)? https://github.com/tip-of-the-week/cpp/blob/master/tips/367.md https://github.com/tip-of-the-week/cpp/blob/master/tips/367.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

          Info
            @@ -347,7 +432,7 @@ int main() { 366 - Did you know about C++26 static reflection proposal (6/N)? https://github.com/tip-of-the-week/cpp/blob/master/tips/366.md https://github.com/tip-of-the-week/cpp/blob/master/tips/366.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

            Info
              @@ -504,7 +589,7 @@ int main() { 365 - Did you know about C++26 static reflection proposal (5/N)? https://github.com/tip-of-the-week/cpp/blob/master/tips/365.md https://github.com/tip-of-the-week/cpp/blob/master/tips/365.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

              Info
                @@ -584,7 +669,7 @@ static_assert(requires(packed p) { p.i; p.s; p.b; }); 364 - Did you know about C++26 static reflection proposal (4/N)? https://github.com/tip-of-the-week/cpp/blob/master/tips/364.md https://github.com/tip-of-the-week/cpp/blob/master/tips/364.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                Info
                  @@ -748,7 +833,7 @@ class soa_vector : impl::soa_t<T> { 363 - Did you know about C++26 static reflection proposal (3/N)? https://github.com/tip-of-the-week/cpp/blob/master/tips/363.md https://github.com/tip-of-the-week/cpp/blob/master/tips/363.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                  Info
                    @@ -875,7 +960,7 @@ static_assert(std::array{desc{1u, 0u, 1u}, desc{4u, 4u, 4u}, desc{4u, 8u, 4u}} = 362 - Did you know about C++26 static reflection proposal (2/N)? https://github.com/tip-of-the-week/cpp/blob/master/tips/362.md https://github.com/tip-of-the-week/cpp/blob/master/tips/362.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                    Info
                      @@ -953,7 +1038,7 @@ template<auto N, class T> 361 - Did you know about C++26 static reflection proposal (1/N)? https://github.com/tip-of-the-week/cpp/blob/master/tips/361.md https://github.com/tip-of-the-week/cpp/blob/master/tips/361.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                      Info
                        @@ -1018,7 +1103,7 @@ static_assert(enum_to_string(Color(42)) == "<unnamed>"); 360 - Did you know that C++23 added spanstream - A strstream replacement using span<charT> as buffer? https://github.com/tip-of-the-week/cpp/blob/master/tips/360.md https://github.com/tip-of-the-week/cpp/blob/master/tips/360.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                        Info
                          @@ -1089,7 +1174,7 @@ int main() { 359 - Did you know that C++20 `source_location` can be used to get the member names? https://github.com/tip-of-the-week/cpp/blob/master/tips/359.md https://github.com/tip-of-the-week/cpp/blob/master/tips/359.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                          Info
                            @@ -1322,7 +1407,7 @@ static_assert("b" == std::get<1>(t).name and 87 == std::get<1 358 - Did you know that C++26 added `Pack Indexing`? https://github.com/tip-of-the-week/cpp/blob/master/tips/358.md https://github.com/tip-of-the-week/cpp/blob/master/tips/358.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                            Info
                              @@ -1401,7 +1486,7 @@ consteval auto last(auto... ts) { return (ts, ...); } 357 - Did you know that C++23 added standard support for `flat_map`? https://github.com/tip-of-the-week/cpp/blob/master/tips/357.md https://github.com/tip-of-the-week/cpp/blob/master/tips/357.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                              Info
                                @@ -1519,7 +1604,7 @@ void UnorderedMapLookup(benchmark::State& state) { 356 - Did you know that C++20's `no_unique_address` can be used to find unique types? https://github.com/tip-of-the-week/cpp/blob/master/tips/356.md https://github.com/tip-of-the-week/cpp/blob/master/tips/356.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                Info
                                  @@ -1615,7 +1700,7 @@ constexpr auto is_unique = sizeof(S<Ts...>) == 1; 355 - Did you know that C++20 added constinit keyword? https://github.com/tip-of-the-week/cpp/blob/master/tips/355.md https://github.com/tip-of-the-week/cpp/blob/master/tips/355.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                  Info
                                    @@ -1659,7 +1744,7 @@ auto fn() { return var; } 354 - Did you know that C++23 added range `string_view` constructor? https://github.com/tip-of-the-week/cpp/blob/master/tips/354.md https://github.com/tip-of-the-week/cpp/blob/master/tips/354.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                    Info
                                      @@ -1719,7 +1804,7 @@ struct buffer { 353 - Did you know that the underlying visit implementation of std::visit has changed since GCC12+, Clang15+? https://github.com/tip-of-the-week/cpp/blob/master/tips/353.md https://github.com/tip-of-the-week/cpp/blob/master/tips/353.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                      Info
                                        @@ -1829,7 +1914,7 @@ constexpr decltype(auto) visit(F&& f, V&& v) { 352 - Did you know about C++26 proposal - `variadic friends`? https://github.com/tip-of-the-week/cpp/blob/master/tips/352.md https://github.com/tip-of-the-week/cpp/blob/master/tips/352.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                        Info
                                          @@ -1926,7 +2011,7 @@ class MyClass { 351 - Did you know about C++26 proposal - `inplace_vector`? https://github.com/tip-of-the-week/cpp/blob/master/tips/351.md https://github.com/tip-of-the-week/cpp/blob/master/tips/351.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                          Info
                                            @@ -2043,7 +2128,7 @@ class inplace_vector { 350 - Did you know about C++26 proposal - Aggregates are named tuples? https://github.com/tip-of-the-week/cpp/blob/master/tips/350.md https://github.com/tip-of-the-week/cpp/blob/master/tips/350.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                            Info
                                              @@ -2118,7 +2203,7 @@ constexpr auto get(DoesNotHaveGetConcept auto s) { 349 - Did you know that C++26 added new SI prefixes? https://github.com/tip-of-the-week/cpp/blob/master/tips/349.md https://github.com/tip-of-the-week/cpp/blob/master/tips/349.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                              Info
                                                @@ -2178,7 +2263,7 @@ static_assert(std::femto{} * std::exa{} == std::kilo{}); 348 - Did you know that C++26 changed arithmetic overloads of std::to_string and std::to_wstring to use std::format? https://github.com/tip-of-the-week/cpp/blob/master/tips/348.md https://github.com/tip-of-the-week/cpp/blob/master/tips/348.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                Info
                                                  @@ -2252,7 +2337,7 @@ static_assert(std::femto{} * std::exa{} == std::kilo{}); 347 - Did you know that C++26 added more constexpr for <cmath> and <complex>? https://github.com/tip-of-the-week/cpp/blob/master/tips/347.md https://github.com/tip-of-the-week/cpp/blob/master/tips/347.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                  Info

                                                  *** Did you know that C++26 added more constexpr for and ?

                                                  @@ -2319,7 +2404,7 @@ static_assert(123 == 123_number); 346 - Did you know that C++26 added testing for success or failure of <charconv> functions? https://github.com/tip-of-the-week/cpp/blob/master/tips/346.md https://github.com/tip-of-the-week/cpp/blob/master/tips/346.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                  Info
                                                    @@ -2387,7 +2472,7 @@ static_assert(!fmt_error); 345 - Did you know that C++26 allows constexpr cast from `void*`? https://github.com/tip-of-the-week/cpp/blob/master/tips/345.md https://github.com/tip-of-the-week/cpp/blob/master/tips/345.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                    Info
                                                      @@ -2473,7 +2558,7 @@ int main() { 344 - Did you know that C++26 added `Member visit`? https://github.com/tip-of-the-week/cpp/blob/master/tips/344.md https://github.com/tip-of-the-week/cpp/blob/master/tips/344.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                      Info
                                                        @@ -2547,7 +2632,7 @@ struct variant : std::variant<Ts...> { 343 - Did you know that C++26 std.format added formatting pointers ability? https://github.com/tip-of-the-week/cpp/blob/master/tips/343.md https://github.com/tip-of-the-week/cpp/blob/master/tips/343.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                        Info
                                                          @@ -2612,7 +2697,7 @@ struct variant : std::variant<Ts...> { 342 - Did you know that C++26 added 'A nice placeholder with no name'? https://github.com/tip-of-the-week/cpp/blob/master/tips/342.md https://github.com/tip-of-the-week/cpp/blob/master/tips/342.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                          Info
                                                            @@ -2688,7 +2773,7 @@ template<auto _> auto nttp() {} 341 - Did you know that C++26 added user-generated static_assert messages? https://github.com/tip-of-the-week/cpp/blob/master/tips/341.md https://github.com/tip-of-the-week/cpp/blob/master/tips/341.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                            Info
                                                              @@ -2745,7 +2830,7 @@ constexpr auto format(const string<Cs...> fmt, auto&&... args) { 340 - Did you know that C++26 added bind front and back to NTTP callables? https://github.com/tip-of-the-week/cpp/blob/master/tips/340.md https://github.com/tip-of-the-week/cpp/blob/master/tips/340.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                              Info
                                                                @@ -2803,7 +2888,7 @@ int main() { 339 - Did you know that C++26 added `@, $, and `` to the basic character set? https://github.com/tip-of-the-week/cpp/blob/master/tips/339.md https://github.com/tip-of-the-week/cpp/blob/master/tips/339.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                Info
                                                                  @@ -2843,7 +2928,7 @@ auto id = @kris; 338 - Did you know about C++20 `std::next_permutation` algorithm? https://github.com/tip-of-the-week/cpp/blob/master/tips/338.md https://github.com/tip-of-the-week/cpp/blob/master/tips/338.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                  Info
                                                                    @@ -3028,7 +3113,7 @@ constexpr auto invoke(auto fn, auto... ts) -> R { 337 - Did you know that run-time dispatching over type-list can be implemented many different ways? https://github.com/tip-of-the-week/cpp/blob/master/tips/337.md https://github.com/tip-of-the-week/cpp/blob/master/tips/337.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                    Info
                                                                      @@ -3151,7 +3236,7 @@ constexpr auto dispatch(const int id, const T& data, const TExpr& expr) 336 - Did you know about `gnu::vector_size` extension? https://github.com/tip-of-the-week/cpp/blob/master/tips/336.md https://github.com/tip-of-the-week/cpp/blob/master/tips/336.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                      Info
                                                                        @@ -3250,7 +3335,7 @@ constexpr auto matmul(v16qi (&A)[N], v16qi (&B)[N], std::int32_t (&C 335 - Did you know that you can simplify `boost.mp11` API with DSL*?* https://github.com/tip-of-the-week/cpp/blob/master/tips/335.md https://github.com/tip-of-the-week/cpp/blob/master/tips/335.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                        Info
                                                                          @@ -3444,7 +3529,7 @@ static_assert(unique_event_ptrs<foo1, bar1, foo1, foo1, bar1, bar2> == 334 - Did you know that C++23 added std::invoke_r? https://github.com/tip-of-the-week/cpp/blob/master/tips/334.md https://github.com/tip-of-the-week/cpp/blob/master/tips/334.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                          Info
                                                                            @@ -3515,7 +3600,7 @@ static_assert(typeid(unsigned long long) == typeid(call(1ll, 2ull, 3l))); 333 - Did you know that C++20 added std::span? https://github.com/tip-of-the-week/cpp/blob/master/tips/333.md https://github.com/tip-of-the-week/cpp/blob/master/tips/333.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                            Info
                                                                              @@ -3592,7 +3677,7 @@ static_assert(15 == sum(s)); 332 - Did you know that in C++ you can generate jump tables at compile-time? https://github.com/tip-of-the-week/cpp/blob/master/tips/332.md https://github.com/tip-of-the-week/cpp/blob/master/tips/332.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                              Info
                                                                                @@ -3658,7 +3743,7 @@ constexpr auto dispatch(auto n) -> int { 331 - Did you about C++17 std::index_sequence, std::make_index_sequence? https://github.com/tip-of-the-week/cpp/blob/master/tips/331.md https://github.com/tip-of-the-week/cpp/blob/master/tips/331.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                Info
                                                                                  @@ -3789,7 +3874,7 @@ constexpr const auto matrix = 330 - Did you know that C++17 added std::pmr::polymorphic_allocator? https://github.com/tip-of-the-week/cpp/blob/master/tips/330.md https://github.com/tip-of-the-week/cpp/blob/master/tips/330.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                  Info
                                                                                    @@ -3956,7 +4041,7 @@ int main() { 329 - Did you know about C++ allows to pass Pointer To Member Function via template parameter? https://github.com/tip-of-the-week/cpp/blob/master/tips/329.md https://github.com/tip-of-the-week/cpp/blob/master/tips/329.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                    Info
                                                                                      @@ -4117,7 +4202,7 @@ int main() { 328 - Did you know that C++23 extended floating-point types? https://github.com/tip-of-the-week/cpp/blob/master/tips/328.md https://github.com/tip-of-the-week/cpp/blob/master/tips/328.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                      Info
                                                                                        @@ -4266,7 +4351,7 @@ auto min_max = [](auto t) { 327 - Did you know that C++17 added `std::forward_as_tuple` and `std::make_from_tuple` and what’s the difference between them? https://github.com/tip-of-the-week/cpp/blob/master/tips/327.md https://github.com/tip-of-the-week/cpp/blob/master/tips/327.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                        Info
                                                                                          @@ -4449,7 +4534,7 @@ constexpr auto forward_as_tuple(Ts &&...vs) { 326 - Did you know that C++23 deprecated std::aligned_storage and std::aligned_union? https://github.com/tip-of-the-week/cpp/blob/master/tips/326.md https://github.com/tip-of-the-week/cpp/blob/master/tips/326.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                          Info
                                                                                            @@ -4702,7 +4787,7 @@ class container { 325 - Did you know about `typename erasure` technique (via Strong/Opaque Typedefs) in C++? https://github.com/tip-of-the-week/cpp/blob/master/tips/325.md https://github.com/tip-of-the-week/cpp/blob/master/tips/325.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                            Info
                                                                                              @@ -4930,7 +5015,7 @@ constexpr auto fn() { 324 - Did you know about `virtual` inheritance in C++? https://github.com/tip-of-the-week/cpp/blob/master/tips/324.md https://github.com/tip-of-the-week/cpp/blob/master/tips/324.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                              Info
                                                                                                @@ -5074,7 +5159,7 @@ struct implementation<V> : virtual interface<decltype(V)> { 323 - Did you know that constexpr is strict about undefined behaviour (UB), object lifetime, etc? https://github.com/tip-of-the-week/cpp/blob/master/tips/323.md https://github.com/tip-of-the-week/cpp/blob/master/tips/323.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                Info
                                                                                                  @@ -5377,7 +5462,7 @@ static_assert(m_1() == ""); 322 - Did you know that C++23 added Monadic operations for std::expected? https://github.com/tip-of-the-week/cpp/blob/master/tips/322.md https://github.com/tip-of-the-week/cpp/blob/master/tips/322.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                  Info
                                                                                                    @@ -5615,7 +5700,7 @@ std::expected<order_with_id, error> execute(auto& ts, const market_dat 321 - Did you know that C++23 added support for formatting ranges? https://github.com/tip-of-the-week/cpp/blob/master/tips/321.md https://github.com/tip-of-the-week/cpp/blob/master/tips/321.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                    Info
                                                                                                      @@ -5738,7 +5823,7 @@ expect("[[97], [98, 99]]"s == 320 - Did you know about intrisincts to support SIMD (Single Instruction, Multiple Data) instructions? https://github.com/tip-of-the-week/cpp/blob/master/tips/320.md https://github.com/tip-of-the-week/cpp/blob/master/tips/320.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                      Info
                                                                                                        @@ -5886,7 +5971,7 @@ int main() { 319 - Did you know that C++11 allows calling functions with reference-to-array parameters from an initializer list? https://github.com/tip-of-the-week/cpp/blob/master/tips/319.md https://github.com/tip-of-the-week/cpp/blob/master/tips/319.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                        Info
                                                                                                          @@ -5987,7 +6072,7 @@ consteval auto sum_n(const Lists (&...v)[N]) { 318 - Did you know that `std::unique_ptr` can be constexpr in C++23? https://github.com/tip-of-the-week/cpp/blob/master/tips/318.md https://github.com/tip-of-the-week/cpp/blob/master/tips/318.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                          Info
                                                                                                            @@ -6165,7 +6250,7 @@ function(F) -> function<function_type_t<decltype(&F::operator())> 317 - Did you know that with C++20 you can pass concepts? https://github.com/tip-of-the-week/cpp/blob/master/tips/317.md https://github.com/tip-of-the-week/cpp/blob/master/tips/317.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                            Info
                                                                                                              @@ -6317,7 +6402,7 @@ constexpr auto create(auto&& injector) { 316 - Did you know about `std::rank/std::rank_v` type_trait to get the rank of the array? https://github.com/tip-of-the-week/cpp/blob/master/tips/316.md https://github.com/tip-of-the-week/cpp/blob/master/tips/316.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                              Info
                                                                                                                @@ -6458,7 +6543,7 @@ constexpr auto rank_v = []{ 315 - Did you know about C++20 `is_layout_compatible_v` type_trait? https://github.com/tip-of-the-week/cpp/blob/master/tips/315.md https://github.com/tip-of-the-week/cpp/blob/master/tips/315.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                Info
                                                                                                                  @@ -6550,7 +6635,7 @@ constexpr auto count_compatible = (... + std::is_layout_compatible_v<T, Ts> 314 - Did you know that with gnu:C++26 a more parts of static reflection can be emulated? https://github.com/tip-of-the-week/cpp/blob/master/tips/314.md https://github.com/tip-of-the-week/cpp/blob/master/tips/314.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                  Info
                                                                                                                    @@ -6685,7 +6770,7 @@ template 313 - Did you know that C++26 added #embed? https://github.com/tip-of-the-week/cpp/blob/master/tips/313.md https://github.com/tip-of-the-week/cpp/blob/master/tips/313.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                    Info
                                                                                                                      @@ -6831,7 +6916,7 @@ constexpr auto meta_contains = 312 - Did you know that C++20 added support for Unevaluated asm-declaration in constexpr functions? https://github.com/tip-of-the-week/cpp/blob/master/tips/312.md https://github.com/tip-of-the-week/cpp/blob/master/tips/312.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                      Info
                                                                                                                        @@ -7001,7 +7086,7 @@ int main(int argc, char**) { 311 - Did you know DRY (Don’t Repeat Yourself) comparisons pattern? https://github.com/tip-of-the-week/cpp/blob/master/tips/311.md https://github.com/tip-of-the-week/cpp/blob/master/tips/311.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                        Info
                                                                                                                          @@ -7188,7 +7273,7 @@ struct any_of { 310 - Did you know that C+23 permitts static constexpr variables in constexpr functions? https://github.com/tip-of-the-week/cpp/blob/master/tips/310.md https://github.com/tip-of-the-week/cpp/blob/master/tips/310.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                          Info
                                                                                                                            @@ -7283,7 +7368,7 @@ template<> 309 - Did you know that C++20 added support for constexpr std::vector? https://github.com/tip-of-the-week/cpp/blob/master/tips/309.md https://github.com/tip-of-the-week/cpp/blob/master/tips/309.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                            Info
                                                                                                                              @@ -7407,7 +7492,7 @@ static_assert(std::tuple{2} == filter([] { return std::tuple{1, 2, 3}; }, [](aut 308 - Did you know that the layout of struct fields will affect its size/alignment? https://github.com/tip-of-the-week/cpp/blob/master/tips/308.md https://github.com/tip-of-the-week/cpp/blob/master/tips/308.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                              Info
                                                                                                                                @@ -7966,7 +8051,7 @@ template<class T> constexpr auto is_packed_layout_v= sizeof(T) <=1 || i 307 - Did you know that C++23 added static operator[]? https://github.com/tip-of-the-week/cpp/blob/master/tips/307.md https://github.com/tip-of-the-week/cpp/blob/master/tips/307.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                Info
                                                                                                                                  @@ -8097,7 +8182,7 @@ auto fn(){ 306 - Did you know about if/else hell anti-pattern? https://github.com/tip-of-the-week/cpp/blob/master/tips/306.md https://github.com/tip-of-the-week/cpp/blob/master/tips/306.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                  Info
                                                                                                                                    @@ -8357,7 +8442,7 @@ int main() { 305 - Did you know about (rejected) proposal for homogeneous variadic function parameters? https://github.com/tip-of-the-week/cpp/blob/master/tips/305.md https://github.com/tip-of-the-week/cpp/blob/master/tips/305.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                    Info
                                                                                                                                      @@ -8579,7 +8664,7 @@ auto safe_call(auto fn, auto fmt, ...) { 304 - Did you know that tuple can be implement just with lambdas? https://github.com/tip-of-the-week/cpp/blob/master/tips/304.md https://github.com/tip-of-the-week/cpp/blob/master/tips/304.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                      Info
                                                                                                                                        @@ -8973,7 +9058,7 @@ template<class T> [[nodiscard]] constexpr auto get(auto t){ 303 - Did you about typename erasure technique to reduce compilation times with templates? https://github.com/tip-of-the-week/cpp/blob/master/tips/303.md https://github.com/tip-of-the-week/cpp/blob/master/tips/303.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                        Info
                                                                                                                                          @@ -9088,7 +9173,7 @@ template<class... Ts> 302 - Did you now that with concepts you can override a type? https://github.com/tip-of-the-week/cpp/blob/master/tips/302.md https://github.com/tip-of-the-week/cpp/blob/master/tips/302.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                          Info
                                                                                                                                            @@ -9212,7 +9297,7 @@ static_assert(std::is_base_of_v<std::__shared_ptr<int, __gnu_cxx::_S_singl 301 - Did you now that functions in `<charconv>` are constexpr since C++23? https://github.com/tip-of-the-week/cpp/blob/master/tips/301.md https://github.com/tip-of-the-week/cpp/blob/master/tips/301.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                            Info
                                                                                                                                              @@ -9403,7 +9488,7 @@ template <int N = 4> 300 - Did you know that C++23 added support for constexpr std::bitset? https://github.com/tip-of-the-week/cpp/blob/master/tips/300.md https://github.com/tip-of-the-week/cpp/blob/master/tips/300.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                              Info
                                                                                                                                                @@ -9549,7 +9634,7 @@ template<size_t N> 299 - Did you know that C++20 concepts can be used to avoid implicit conversions? https://github.com/tip-of-the-week/cpp/blob/master/tips/299.md https://github.com/tip-of-the-week/cpp/blob/master/tips/299.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                Info
                                                                                                                                                  @@ -9706,7 +9791,7 @@ static_assert(not can_invoke_with(foo, int{}, double{}, float{}, float{})); 298 - Did you know that C++23 added static operator()? https://github.com/tip-of-the-week/cpp/blob/master/tips/298.md https://github.com/tip-of-the-week/cpp/blob/master/tips/298.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                  Info
                                                                                                                                                    @@ -9845,7 +9930,7 @@ constexpr auto count = [] -> int { 297 - **Did you know that C++20 introduced coroutines?** (co__await) https://github.com/tip-of-the-week/cpp/blob/master/tips/297.md https://github.com/tip-of-the-week/cpp/blob/master/tips/297.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                    Info
                                                                                                                                                      @@ -10198,7 +10283,7 @@ class parser { 296 - **Did you know that C++20 introduced coroutines?** (co_yield) https://github.com/tip-of-the-week/cpp/blob/master/tips/296.md https://github.com/tip-of-the-week/cpp/blob/master/tips/296.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                      Info
                                                                                                                                                        @@ -10812,7 +10897,7 @@ constexpr auto sum = [](auto generator) { 295 - Did you know that C++23 added `stacktrace` library? https://github.com/tip-of-the-week/cpp/blob/master/tips/295.md https://github.com/tip-of-the-week/cpp/blob/master/tips/295.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                        Info
                                                                                                                                                          @@ -11076,7 +11161,7 @@ template <auto N> 294 - Did you know that with C++20 (constexpr containers) TMP can be achieved with STL? https://github.com/tip-of-the-week/cpp/blob/master/tips/294.md https://github.com/tip-of-the-week/cpp/blob/master/tips/294.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                          Info
                                                                                                                                                            @@ -11315,7 +11400,7 @@ auto first_or_last_depending_on_size = List | [] (boost::mp::concepts::meta auto 293 - Did you know that C++17 [[nodiscard]] attribute can be applied not only to function? https://github.com/tip-of-the-week/cpp/blob/master/tips/293.md https://github.com/tip-of-the-week/cpp/blob/master/tips/293.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                            Info
                                                                                                                                                              @@ -11493,7 +11578,7 @@ int main() { 292 - Did you know about memoized for less types (more compile-time friendly) conditional_t? https://github.com/tip-of-the-week/cpp/blob/master/tips/292.md https://github.com/tip-of-the-week/cpp/blob/master/tips/292.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                              Info
                                                                                                                                                                @@ -11692,7 +11777,7 @@ using conditional_t = typename detail::conditional<B>::template fn<T, F 291 - Did you know about [[gnu::cold]] function attribute to mark functions which are unlikely to be called? https://github.com/tip-of-the-week/cpp/blob/master/tips/291.md https://github.com/tip-of-the-week/cpp/blob/master/tips/291.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                Info
                                                                                                                                                                  @@ -12374,7 +12459,7 @@ auto test_lambda_abort(bool error) { 290 - Did you know that lambda expression is guaranteed to have a unique type? https://github.com/tip-of-the-week/cpp/blob/master/tips/290.md https://github.com/tip-of-the-week/cpp/blob/master/tips/290.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                  Info
                                                                                                                                                                    @@ -12525,7 +12610,7 @@ template<class T, class U = same, class V = diff<T>> 289 - Did you know that [[assume]] attribute has been accepted to C++23? https://github.com/tip-of-the-week/cpp/blob/master/tips/289.md https://github.com/tip-of-the-week/cpp/blob/master/tips/289.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                    Info
                                                                                                                                                                      @@ -13000,7 +13085,7 @@ struct smart_ptr final { 288 - Did you know you can pass an array by reference? https://github.com/tip-of-the-week/cpp/blob/master/tips/288.md https://github.com/tip-of-the-week/cpp/blob/master/tips/288.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                      Info
                                                                                                                                                                        @@ -13176,7 +13261,7 @@ template <class T, std::size_t sz> 287 - Did you know that C++23 added `auto(x): decay-copy in the language`? https://github.com/tip-of-the-week/cpp/blob/master/tips/287.md https://github.com/tip-of-the-week/cpp/blob/master/tips/287.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                        Info
                                                                                                                                                                          @@ -13468,7 +13553,7 @@ namespace cpp23 { 286 - Did you know that Circle supports Python's extended slice syntax for variadic packs? https://github.com/tip-of-the-week/cpp/blob/master/tips/286.md https://github.com/tip-of-the-week/cpp/blob/master/tips/286.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                          Info
                                                                                                                                                                            @@ -13612,7 +13697,7 @@ static_assert(std::tuple{4, 5, 6} == [](auto... ts) { return std::tuple{ts...[3 285 - Did you know about C++20 template specialization with concepts? https://github.com/tip-of-the-week/cpp/blob/master/tips/285.md https://github.com/tip-of-the-week/cpp/blob/master/tips/285.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                            Info
                                                                                                                                                                              @@ -13752,7 +13837,7 @@ struct foobars<C<fs...>, C<bs...>> {}; 284 - Did you know about C++23 ispanstream - A strstream replacement using span<charT> as buffer? https://github.com/tip-of-the-week/cpp/blob/master/tips/284.md https://github.com/tip-of-the-week/cpp/blob/master/tips/284.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                              Info
                                                                                                                                                                                @@ -14000,7 +14085,7 @@ template<class... Ts, auto N> 283 - Did you know that C++23 added `ranges::to` (conversion from ranges to containers)? https://github.com/tip-of-the-week/cpp/blob/master/tips/283.md https://github.com/tip-of-the-week/cpp/blob/master/tips/283.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                Info
                                                                                                                                                                                  @@ -14341,7 +14426,7 @@ namespace test::stl { 282 - Did you know about introduced in C++20 `object concepts`? https://github.com/tip-of-the-week/cpp/blob/master/tips/282.md https://github.com/tip-of-the-week/cpp/blob/master/tips/282.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                  Info
                                                                                                                                                                                    @@ -14917,7 +15002,7 @@ static_assert(not std::regular<not_regular>); 281 - Did you know about gtest.gmock mocking framework? https://github.com/tip-of-the-week/cpp/blob/master/tips/281.md https://github.com/tip-of-the-week/cpp/blob/master/tips/281.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                    Info
                                                                                                                                                                                      @@ -15106,7 +15191,7 @@ struct mock_on : ::testing::StrictMock<mock<TEvents>>...{ 280 - Did you know about use cases for type-based `reserved` decorator? https://github.com/tip-of-the-week/cpp/blob/master/tips/280.md https://github.com/tip-of-the-week/cpp/blob/master/tips/280.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                      Info
                                                                                                                                                                                        @@ -15462,7 +15547,7 @@ struct reserved : T { 279 - Did you know that C++20 made `std::string` constexpr? https://github.com/tip-of-the-week/cpp/blob/master/tips/279.md https://github.com/tip-of-the-week/cpp/blob/master/tips/279.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                        Info
                                                                                                                                                                                          @@ -15553,7 +15638,7 @@ static_assert("abc"s == concat([]{return "a"s;}, []{return & 278 - Did you know that C++23 added Literal Suffix for (signed) size_t? https://github.com/tip-of-the-week/cpp/blob/master/tips/278.md https://github.com/tip-of-the-week/cpp/blob/master/tips/278.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                          Info
                                                                                                                                                                                            @@ -15678,7 +15763,7 @@ int main() { 277 - Did you know that C++17 structured bindings support to custom classes can be added? https://github.com/tip-of-the-week/cpp/blob/master/tips/277.md https://github.com/tip-of-the-week/cpp/blob/master/tips/277.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                            Info
                                                                                                                                                                                              @@ -15838,7 +15923,7 @@ using make_index_sequence = typename detail::make_index_sequence<N>::type; 276 - Did you know that C++23 added `bind_back` to simplify writing higher order functions? https://github.com/tip-of-the-week/cpp/blob/master/tips/276.md https://github.com/tip-of-the-week/cpp/blob/master/tips/276.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                              Info
                                                                                                                                                                                                @@ -16028,7 +16113,7 @@ template <typename ... Args> 275 - Did you know what is the underlying type of NTTP string aka `fixed_string`? https://github.com/tip-of-the-week/cpp/blob/master/tips/275.md https://github.com/tip-of-the-week/cpp/blob/master/tips/275.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                Info
                                                                                                                                                                                                  @@ -16175,7 +16260,7 @@ using to_string_t = decltype([]<auto... Is>(std::index_sequence<Is...&g 274 - Did you know about C++23 proposal `Structured Bindings can introduce a Pack`? https://github.com/tip-of-the-week/cpp/blob/master/tips/274.md https://github.com/tip-of-the-week/cpp/blob/master/tips/274.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                  Info
                                                                                                                                                                                                    @@ -16409,7 +16494,7 @@ constexpr auto first(auto... args) { 273 - Did you know that concept can be passed via lambda expression? https://github.com/tip-of-the-week/cpp/blob/master/tips/273.md https://github.com/tip-of-the-week/cpp/blob/master/tips/273.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                    Info
                                                                                                                                                                                                      @@ -16627,7 +16712,7 @@ concept fooable = requires (T t) { t.foo(satisfies<Ts>{}...); }; 272 - **Did you know that C++20 added std::ranges::{all_of, any_of, none_of} algorithms**? https://github.com/tip-of-the-week/cpp/blob/master/tips/272.md https://github.com/tip-of-the-week/cpp/blob/master/tips/272.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                      Info
                                                                                                                                                                                                        @@ -16901,7 +16986,7 @@ template<auto... Values> 271 - Did you know that C++20 added support for floating point values as non-type template parameters? https://github.com/tip-of-the-week/cpp/blob/master/tips/271.md https://github.com/tip-of-the-week/cpp/blob/master/tips/271.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                        Info
                                                                                                                                                                                                          @@ -17059,7 +17144,7 @@ template<double Epsilon = 0.1> 270 - Did you know that C++23 added `std::to_underlying`? https://github.com/tip-of-the-week/cpp/blob/master/tips/270.md https://github.com/tip-of-the-week/cpp/blob/master/tips/270.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                          Info
                                                                                                                                                                                                            @@ -17377,7 +17462,7 @@ constexpr auto sum_enums = []{ 269 - Did you know about `boost::mp11::mp_with_index`? https://github.com/tip-of-the-week/cpp/blob/master/tips/269.md https://github.com/tip-of-the-week/cpp/blob/master/tips/269.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                            Info
                                                                                                                                                                                                              @@ -17692,7 +17777,7 @@ auto vector_to_array(const auto &v, auto f) -> void { return f(ToArray{v} 268 - Did you know that C++20 added `std::erase_if` for std::map and std::vector? https://github.com/tip-of-the-week/cpp/blob/master/tips/268.md https://github.com/tip-of-the-week/cpp/blob/master/tips/268.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                              Info
                                                                                                                                                                                                                @@ -18005,7 +18090,7 @@ template <class... Ts> 267 - Did you know that C++23 added `std::unreachable`? https://github.com/tip-of-the-week/cpp/blob/master/tips/267.md https://github.com/tip-of-the-week/cpp/blob/master/tips/267.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                Info
                                                                                                                                                                                                                  @@ -18195,7 +18280,7 @@ constexpr auto switch_id(const auto id) { 266 - Did you know wrapping an unqualified function name in parentheses suppresses argument-dependent lookup? https://github.com/tip-of-the-week/cpp/blob/master/tips/266.md https://github.com/tip-of-the-week/cpp/blob/master/tips/266.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                  Info
                                                                                                                                                                                                                    @@ -18278,7 +18363,7 @@ struct foo {}; 265 - Did you know that C++23 added Attributes on Lambda-Expressions? https://github.com/tip-of-the-week/cpp/blob/master/tips/265.md https://github.com/tip-of-the-week/cpp/blob/master/tips/265.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                    Info
                                                                                                                                                                                                                      @@ -18340,7 +18425,7 @@ int main() { 264 - Did you know that C++20 added `__VA_OPT__` for comma omission and comma deletion? https://github.com/tip-of-the-week/cpp/blob/master/tips/264.md https://github.com/tip-of-the-week/cpp/blob/master/tips/264.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                      Info
                                                                                                                                                                                                                        @@ -18407,7 +18492,7 @@ int main() { 263 - Did you know that C++23 added std::byteswap to swap bytes? https://github.com/tip-of-the-week/cpp/blob/master/tips/263.md https://github.com/tip-of-the-week/cpp/blob/master/tips/263.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                        Info
                                                                                                                                                                                                                          @@ -18709,7 +18794,7 @@ auto make_output = [](auto x){ 262 - Did you know that type_info equality operator is constexpr in C++23? https://github.com/tip-of-the-week/cpp/blob/master/tips/262.md https://github.com/tip-of-the-week/cpp/blob/master/tips/262.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                          Info
                                                                                                                                                                                                                            @@ -18920,7 +19005,7 @@ consteval bool compare_types(){ 261 - Did you know that C++23 added Monadic operations for std::optional? https://github.com/tip-of-the-week/cpp/blob/master/tips/261.md https://github.com/tip-of-the-week/cpp/blob/master/tips/261.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                            Info
                                                                                                                                                                                                                              @@ -19057,7 +19142,7 @@ std::optional<order_with_id> execute(auto& ts, const market_data& 260 - Did you know that C++23 added std::move_only_function? https://github.com/tip-of-the-week/cpp/blob/master/tips/260.md https://github.com/tip-of-the-week/cpp/blob/master/tips/260.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                              Info
                                                                                                                                                                                                                                @@ -19128,7 +19213,7 @@ int main() { 259 - Did you know that static reflection supports introspecting constructors? https://github.com/tip-of-the-week/cpp/blob/master/tips/259.md https://github.com/tip-of-the-week/cpp/blob/master/tips/259.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                Info
                                                                                                                                                                                                                                  @@ -19318,7 +19403,7 @@ private: 258 - Did you know that static reflection can be used to invoke functions with named parameters? https://github.com/tip-of-the-week/cpp/blob/master/tips/258.md https://github.com/tip-of-the-week/cpp/blob/master/tips/258.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                  Info
                                                                                                                                                                                                                                    @@ -19427,7 +19512,7 @@ int main() { 257 - Did you know that static reflection can be used to implement row polymorphism? https://github.com/tip-of-the-week/cpp/blob/master/tips/257.md https://github.com/tip-of-the-week/cpp/blob/master/tips/257.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                    Info
                                                                                                                                                                                                                                      @@ -19644,7 +19729,7 @@ struct rows : TRows... { 256 - Did you know that static reflection proposal for C++2X has mirror/value based interface? https://github.com/tip-of-the-week/cpp/blob/master/tips/256.md https://github.com/tip-of-the-week/cpp/blob/master/tips/256.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                      Info
                                                                                                                                                                                                                                        @@ -19833,7 +19918,7 @@ auto to_string(const T& t) { 255 - Did you know that static reflection proposal for C++2X can reflect functions? https://github.com/tip-of-the-week/cpp/blob/master/tips/255.md https://github.com/tip-of-the-week/cpp/blob/master/tips/255.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                        Info
                                                                                                                                                                                                                                          @@ -20174,7 +20259,7 @@ template<class T> auto to_string() { 254 - Did you know about static reflection proposal for C++2X? https://github.com/tip-of-the-week/cpp/blob/master/tips/254.md https://github.com/tip-of-the-week/cpp/blob/master/tips/254.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                          Info
                                                                                                                                                                                                                                            @@ -20479,7 +20564,7 @@ template <class T> 253 - Did you know that C++20 extends support for data time utilities? https://github.com/tip-of-the-week/cpp/blob/master/tips/253.md https://github.com/tip-of-the-week/cpp/blob/master/tips/253.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                            Info
                                                                                                                                                                                                                                              @@ -20551,7 +20636,7 @@ static_assert(24d / November/ 2022 == sys_days{2022y / November/ Thursday[4]} /* 252 - **Did you know that C++23 added basic_string::resize_and_overwrite**? https://github.com/tip-of-the-week/cpp/blob/master/tips/252.md https://github.com/tip-of-the-week/cpp/blob/master/tips/252.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                              Info
                                                                                                                                                                                                                                                @@ -20719,7 +20804,7 @@ int main() { 251 - Did you know that C++20 added `type_identity` which implements the identity metafunction? https://github.com/tip-of-the-week/cpp/blob/master/tips/251.md https://github.com/tip-of-the-week/cpp/blob/master/tips/251.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                Info
                                                                                                                                                                                                                                                  @@ -20841,7 +20926,7 @@ static_assert(sizeof(int) + sizeof(float) + sizeof(char) == overload_args_sum((n 250 - Did you know about methods to access the last element of variadic pack...? https://github.com/tip-of-the-week/cpp/blob/master/tips/250.md https://github.com/tip-of-the-week/cpp/blob/master/tips/250.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                  Info
                                                                                                                                                                                                                                                    @@ -21136,7 +21221,7 @@ constexpr auto nth_element( auto ... args ) 249 - Did you know that C++23 allows extended init-statement with alias-declaration in the for loop? https://github.com/tip-of-the-week/cpp/blob/master/tips/249.md https://github.com/tip-of-the-week/cpp/blob/master/tips/249.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                    Info
                                                                                                                                                                                                                                                      @@ -21280,7 +21365,7 @@ auto print(std::ostream& os, auto... args) -> std::ostream& { 248 - Did you know that CRTP can be implemented with C++23 `Deducing this`? https://github.com/tip-of-the-week/cpp/blob/master/tips/248.md https://github.com/tip-of-the-week/cpp/blob/master/tips/248.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                      Info
                                                                                                                                                                                                                                                        @@ -21505,7 +21590,7 @@ auto get(const auto &self) { return self.get(); } 247 - Did you know that `Deducing this` proposal has been voted out into C++23? https://github.com/tip-of-the-week/cpp/blob/master/tips/247.md https://github.com/tip-of-the-week/cpp/blob/master/tips/247.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                        Info
                                                                                                                                                                                                                                                          @@ -21651,7 +21736,7 @@ static_assert(6 == sum(2, 3, 1)); 246 - Did you know that C++11 added a numeric literal operator template? https://github.com/tip-of-the-week/cpp/blob/master/tips/246.md https://github.com/tip-of-the-week/cpp/blob/master/tips/246.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                          Info
                                                                                                                                                                                                                                                            @@ -21910,7 +21995,7 @@ template <char... Cs> 245 - Did you know about C++2X proposal to add Multidimensional subscript operator? https://github.com/tip-of-the-week/cpp/blob/master/tips/245.md https://github.com/tip-of-the-week/cpp/blob/master/tips/245.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                            Info
                                                                                                                                                                                                                                                              @@ -22188,7 +22273,7 @@ class mdarray{ 244 - Did you know about compiler predefined macros assosicated with the compilation date/time? https://github.com/tip-of-the-week/cpp/blob/master/tips/244.md https://github.com/tip-of-the-week/cpp/blob/master/tips/244.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                              Info
                                                                                                                                                                                                                                                                @@ -22379,7 +22464,7 @@ consteval auto strparse( T arg) -> int 243 - Did you know about C++2X `Pattern matching using is and as` proposal? https://github.com/tip-of-the-week/cpp/blob/master/tips/243.md https://github.com/tip-of-the-week/cpp/blob/master/tips/243.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                Info
                                                                                                                                                                                                                                                                  @@ -22550,7 +22635,7 @@ int main() { 242 - Did you know that ANSI/ISO C++ conforming programs must not rely on a maximum template depth greater than 17 (changed to 1024 in C++11)? https://github.com/tip-of-the-week/cpp/blob/master/tips/242.md https://github.com/tip-of-the-week/cpp/blob/master/tips/242.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                  Info
                                                                                                                                                                                                                                                                    @@ -22775,7 +22860,7 @@ struct data : TArgs... {
                                                                                                                                                                                                                                                                    241 - Did you know about different ways of accessing C-style arrays by index? https://github.com/tip-of-the-week/cpp/blob/master/tips/241.md https://github.com/tip-of-the-week/cpp/blob/master/tips/241.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                    Info
                                                                                                                                                                                                                                                                      @@ -22925,7 +23010,7 @@ constexpr auto sum_n(const auto& array) { 240 - Did you know that `using-declarator` can be used to manipulate the overload set? https://github.com/tip-of-the-week/cpp/blob/master/tips/240.md https://github.com/tip-of-the-week/cpp/blob/master/tips/240.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                      Info
                                                                                                                                                                                                                                                                        @@ -23146,7 +23231,7 @@ auto sum_prices(Proc&& ... proc) { 239 - Did you know that Circle Meta-model allows to convert string to a type? https://github.com/tip-of-the-week/cpp/blob/master/tips/239.md https://github.com/tip-of-the-week/cpp/blob/master/tips/239.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                        Info
                                                                                                                                                                                                                                                                          @@ -23257,7 +23342,7 @@ constexpr auto strings_to_tuple(Ts ...) { 238 - Did you know that Circle Meta-model allows for applying `normal` STL for operations on @meta types? https://github.com/tip-of-the-week/cpp/blob/master/tips/238.md https://github.com/tip-of-the-week/cpp/blob/master/tips/238.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                          Info
                                                                                                                                                                                                                                                                            @@ -23455,7 +23540,7 @@ constexpr auto calls_verify_types(auto expected, auto given) { 237 - Did you know about C++2X proposal for the Circle Meta-model for compilation-time meta-programming? https://github.com/tip-of-the-week/cpp/blob/master/tips/237.md https://github.com/tip-of-the-week/cpp/blob/master/tips/237.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                            Info
                                                                                                                                                                                                                                                                              @@ -23610,7 +23695,7 @@ template<class T> auto to_tuple_with_names(const T& t){ 236 - Did you know about `__builtin_dump_struct` clang-extension which can nicely print a struct? https://github.com/tip-of-the-week/cpp/blob/master/tips/236.md https://github.com/tip-of-the-week/cpp/blob/master/tips/236.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                              Info
                                                                                                                                                                                                                                                                                @@ -23991,7 +24076,7 @@ template<class T> [[nodiscard]] auto to_tuple_with_names(const T& t) { 235 - Did you know that C++20 `[[no_unique_address]]` can be used to implement lazy/fast/memory efficient views? https://github.com/tip-of-the-week/cpp/blob/master/tips/235.md https://github.com/tip-of-the-week/cpp/blob/master/tips/235.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                Info
                                                                                                                                                                                                                                                                                  @@ -24173,7 +24258,7 @@ template <class T> 234 - Did you know about function-try-block and that exceptions caught inside that block are implicitly rethrown? https://github.com/tip-of-the-week/cpp/blob/master/tips/234.md https://github.com/tip-of-the-week/cpp/blob/master/tips/234.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                  Info
                                                                                                                                                                                                                                                                                    @@ -24289,7 +24374,7 @@ struct foo : Ts... { 233 - Did you know that C++20 made `typename` more optional? https://github.com/tip-of-the-week/cpp/blob/master/tips/233.md https://github.com/tip-of-the-week/cpp/blob/master/tips/233.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                    Info
                                                                                                                                                                                                                                                                                      @@ -24369,7 +24454,7 @@ auto f8(auto t) -> decltype(t)::type; 232 - Did you know that different overloads can have different specifiers? https://github.com/tip-of-the-week/cpp/blob/master/tips/232.md https://github.com/tip-of-the-week/cpp/blob/master/tips/232.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                      Info
                                                                                                                                                                                                                                                                                        @@ -24472,7 +24557,7 @@ consteval auto f(auto... values) requires (sizeof...(values) > 1) { return (. 231 - Did you know about C++17 variadic using declaration? https://github.com/tip-of-the-week/cpp/blob/master/tips/231.md https://github.com/tip-of-the-week/cpp/blob/master/tips/231.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                        Info
                                                                                                                                                                                                                                                                                          @@ -24661,7 +24746,7 @@ struct handler final : on_method<Ts>... { 230 - Did you know that C++23 added `if consteval`? https://github.com/tip-of-the-week/cpp/blob/master/tips/230.md https://github.com/tip-of-the-week/cpp/blob/master/tips/230.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                          Info
                                                                                                                                                                                                                                                                                            @@ -24774,7 +24859,7 @@ constexpr auto add_or_sub = [](const auto... args) { 229 - Did you know about python's named tuples? https://github.com/tip-of-the-week/cpp/blob/master/tips/229.md https://github.com/tip-of-the-week/cpp/blob/master/tips/229.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                            Info
                                                                                                                                                                                                                                                                                              @@ -25042,7 +25127,7 @@ struct namedtuple{ 228 - Did you know that C++ allows accessing private members with friend injection? https://github.com/tip-of-the-week/cpp/blob/master/tips/228.md https://github.com/tip-of-the-week/cpp/blob/master/tips/228.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                              Info
                                                                                                                                                                                                                                                                                                @@ -25247,7 +25332,7 @@ EXPOSE_MEMBER_AND_THEN_GO_THINK_ABOUT_WHAT_YOU_HAVE_DONE(business::messages, tra 227 - Did you know that `std::variant` become valueless by exception? https://github.com/tip-of-the-week/cpp/blob/master/tips/227.md https://github.com/tip-of-the-week/cpp/blob/master/tips/227.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                Info
                                                                                                                                                                                                                                                                                                  @@ -25587,7 +25672,7 @@ int main() { 226 - Did you know about C++23 feature which adds support for inheriting from std::variant? https://github.com/tip-of-the-week/cpp/blob/master/tips/226.md https://github.com/tip-of-the-week/cpp/blob/master/tips/226.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                  Info
                                                                                                                                                                                                                                                                                                    @@ -25850,7 +25935,7 @@ const auto print_id = [] (auto& os) { 225 - Did you know about C++23 feature which removes unnecessary ()’s from C++ lambdas? https://github.com/tip-of-the-week/cpp/blob/master/tips/225.md https://github.com/tip-of-the-week/cpp/blob/master/tips/225.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                    Info
                                                                                                                                                                                                                                                                                                      @@ -25919,7 +26004,7 @@ const auto print_id = [] (auto& os) { 224 - Did you know that the JSON standard does not specify that the insertion order of object elements should be preserved? https://github.com/tip-of-the-week/cpp/blob/master/tips/224.md https://github.com/tip-of-the-week/cpp/blob/master/tips/224.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                      Info
                                                                                                                                                                                                                                                                                                        @@ -26193,7 +26278,7 @@ constexpr auto to_json(std::tuple< named<T> ... > const & arg) 223 - Did you know about the proposal to add json support to the standard library? https://github.com/tip-of-the-week/cpp/blob/master/tips/223.md https://github.com/tip-of-the-week/cpp/blob/master/tips/223.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                        Info
                                                                                                                                                                                                                                                                                                          @@ -26387,7 +26472,7 @@ template<class ...T> constexpr auto to_json(const std::tuple<named<T 222 - Did you know that C++23 added `contains` function to `string_view`? https://github.com/tip-of-the-week/cpp/blob/master/tips/222.md https://github.com/tip-of-the-week/cpp/blob/master/tips/222.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                          Info
                                                                                                                                                                                                                                                                                                            @@ -26589,7 +26674,7 @@ consteval auto values(auto in, auto str) { 221 - Did you know that with Automatic DI production wiring can be overwritten for integration testing? https://github.com/tip-of-the-week/cpp/blob/master/tips/221.md https://github.com/tip-of-the-week/cpp/blob/master/tips/221.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                            Info
                                                                                                                                                                                                                                                                                                              @@ -26744,7 +26829,7 @@ constexpr auto create(auto&& production, const TFakes&... fakes) -&g 220 - Did you know that with Automatic DI one can control how dependencies are being created? https://github.com/tip-of-the-week/cpp/blob/master/tips/220.md https://github.com/tip-of-the-week/cpp/blob/master/tips/220.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                              Info
                                                                                                                                                                                                                                                                                                                @@ -26955,7 +27040,7 @@ int main() { 219 - Did you know about Automatic Dependency Injection libraries such as DI? https://github.com/tip-of-the-week/cpp/blob/master/tips/219.md https://github.com/tip-of-the-week/cpp/blob/master/tips/219.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                Info
                                                                                                                                                                                                                                                                                                                  @@ -27605,7 +27690,7 @@ int main() { 218 - Did you know about different ways of constructor Dependency Injection? https://github.com/tip-of-the-week/cpp/blob/master/tips/218.md https://github.com/tip-of-the-week/cpp/blob/master/tips/218.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                  Info
                                                                                                                                                                                                                                                                                                                    @@ -28135,7 +28220,7 @@ bdd::gherkin::steps steps = [](auto& steps) { 217 - Did you know the difference between fakes, stubs, mocks? https://github.com/tip-of-the-week/cpp/blob/master/tips/217.md https://github.com/tip-of-the-week/cpp/blob/master/tips/217.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                    Info
                                                                                                                                                                                                                                                                                                                      @@ -28649,7 +28734,7 @@ bdd::gherkin::steps steps = [](auto& steps) { 216 - Did you know that you can inject singletons to improve testability? https://github.com/tip-of-the-week/cpp/blob/master/tips/216.md https://github.com/tip-of-the-week/cpp/blob/master/tips/216.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                      Info
                                                                                                                                                                                                                                                                                                                        @@ -29068,7 +29153,7 @@ int main() { 215 - Did you know C++2X Pattern Matching can be used for run-time dispatching? https://github.com/tip-of-the-week/cpp/blob/master/tips/215.md https://github.com/tip-of-the-week/cpp/blob/master/tips/215.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                        Info
                                                                                                                                                                                                                                                                                                                          @@ -29374,7 +29459,7 @@ struct sm { 214 - Did you know about variadic aggregate initialization? https://github.com/tip-of-the-week/cpp/blob/master/tips/214.md https://github.com/tip-of-the-week/cpp/blob/master/tips/214.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                          Info
                                                                                                                                                                                                                                                                                                                            @@ -29775,7 +29860,7 @@ private: 213 - Did you know that mapping types to values is a simple way to transition from compile-time to run-time space? https://github.com/tip-of-the-week/cpp/blob/master/tips/213.md https://github.com/tip-of-the-week/cpp/blob/master/tips/213.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                            Info
                                                                                                                                                                                                                                                                                                                              @@ -30144,7 +30229,7 @@ struct sm { 212 - Did you know that lambdas are const by default but can be mutable and keep state? https://github.com/tip-of-the-week/cpp/blob/master/tips/212.md https://github.com/tip-of-the-week/cpp/blob/master/tips/212.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                              Info
                                                                                                                                                                                                                                                                                                                                @@ -30765,7 +30850,7 @@ auto sum_prices = [sum = std::size_t{}](std::string_view buffer) mutable -> s 211 - Did you know about C++2X Pattern Matching proposal? https://github.com/tip-of-the-week/cpp/blob/master/tips/211.md https://github.com/tip-of-the-week/cpp/blob/master/tips/211.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                Info
                                                                                                                                                                                                                                                                                                                                  @@ -31207,7 +31292,7 @@ auto sum_prices = [sum = std::size_t{}](std::string_view buffer) mutable -> s 210 - Did you know about `Design By Introspection`? https://github.com/tip-of-the-week/cpp/blob/master/tips/210.md https://github.com/tip-of-the-week/cpp/blob/master/tips/210.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                  Info
                                                                                                                                                                                                                                                                                                                                    @@ -31467,7 +31552,7 @@ private: 209 - Did you know about `Policy Based Design`? https://github.com/tip-of-the-week/cpp/blob/master/tips/209.md https://github.com/tip-of-the-week/cpp/blob/master/tips/209.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                    Info
                                                                                                                                                                                                                                                                                                                                      @@ -31677,7 +31762,7 @@ struct foo { 208 - Did you know that default template arguments can be explored with template template arguments? https://github.com/tip-of-the-week/cpp/blob/master/tips/208.md https://github.com/tip-of-the-week/cpp/blob/master/tips/208.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                      Info
                                                                                                                                                                                                                                                                                                                                        @@ -31987,7 +32072,7 @@ using rebind_defaults_t = detail::rebind<T, type_defaults_t<T>, TBinds. 207 - Did you know about the proposal to add constexpr function parmaters? https://github.com/tip-of-the-week/cpp/blob/master/tips/207.md https://github.com/tip-of-the-week/cpp/blob/master/tips/207.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                        Info
                                                                                                                                                                                                                                                                                                                                          @@ -32285,7 +32370,7 @@ template<class...Args> struct tuple : std::tuple<Args...> { 206 - Did you know about proposal to add support for recursive lambdas? https://github.com/tip-of-the-week/cpp/blob/master/tips/206.md https://github.com/tip-of-the-week/cpp/blob/master/tips/206.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                          Info
                                                                                                                                                                                                                                                                                                                                            @@ -32463,7 +32548,7 @@ constexpr auto sum_years = [](const auto year) { 205 - Did you know that C++20 `std::to_array` supports creating from string literals? https://github.com/tip-of-the-week/cpp/blob/master/tips/205.md https://github.com/tip-of-the-week/cpp/blob/master/tips/205.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                            Info
                                                                                                                                                                                                                                                                                                                                              @@ -32613,7 +32698,7 @@ constexpr const auto xmas_tree = tree<Size, T>(); 204 - Did you know that you can implement a compile-time map with C++? https://github.com/tip-of-the-week/cpp/blob/master/tips/204.md https://github.com/tip-of-the-week/cpp/blob/master/tips/204.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                              Info
                                                                                                                                                                                                                                                                                                                                                @@ -32875,7 +32960,7 @@ constexpr unpack<T, pack<Ts...>, "one", "two"> m 203 - Did you know that in C++ `char`, `signed char` and `unsigned char` are 3 different types? https://github.com/tip-of-the-week/cpp/blob/master/tips/203.md https://github.com/tip-of-the-week/cpp/blob/master/tips/203.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                Info
                                                                                                                                                                                                                                                                                                                                                  @@ -33213,7 +33298,7 @@ static_assert(not [](auto... args) { return requires { foo(args...); }; }((signe 202 - Did you know that C++20 added `Using Enum` which introduces the enumerator names of the named enumeration as if by a using-declaration for each enumerator? https://github.com/tip-of-the-week/cpp/blob/master/tips/202.md https://github.com/tip-of-the-week/cpp/blob/master/tips/202.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                  Info
                                                                                                                                                                                                                                                                                                                                                    @@ -33350,7 +33435,7 @@ static_assert(is_enum_in_scope<InScope>([](auto e){ return requires { e.ec 201 - Did you know that `sizeof` operator can be used for efficient math computation? https://github.com/tip-of-the-week/cpp/blob/master/tips/201.md https://github.com/tip-of-the-week/cpp/blob/master/tips/201.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                    Info
                                                                                                                                                                                                                                                                                                                                                      @@ -33499,7 +33584,7 @@ constexpr auto exponent = []<auto... Ns>(std::index_sequence<Ns...>) 200 - Did you know that C++23 added `is_scoped_enum` type trait to detect whether an enum is scoped? https://github.com/tip-of-the-week/cpp/blob/master/tips/200.md https://github.com/tip-of-the-week/cpp/blob/master/tips/200.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                      Info
                                                                                                                                                                                                                                                                                                                                                        @@ -33644,7 +33729,7 @@ concept any_enum = std::is_enum_v<T> and std::is_convertible_v<T, std:: 199 - Did you know about proposal to introduce constexpr ternary operator? https://github.com/tip-of-the-week/cpp/blob/master/tips/199.md https://github.com/tip-of-the-week/cpp/blob/master/tips/199.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                        Info
                                                                                                                                                                                                                                                                                                                                                          @@ -34094,7 +34179,7 @@ constexpr auto operator or(const TCompare& lhs, const auto& false_in) 198 - Did you know about different ways of iterating over objects? https://github.com/tip-of-the-week/cpp/blob/master/tips/198.md https://github.com/tip-of-the-week/cpp/blob/master/tips/198.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                          Info
                                                                                                                                                                                                                                                                                                                                                            @@ -34425,7 +34510,7 @@ auto iterate(std::vector<T> v, auto&& expr) -> void { 197 - Did you know that Lambdas in Unevaluated Context combined with Template Constraints (Concepts) can be used with types? https://github.com/tip-of-the-week/cpp/blob/master/tips/197.md https://github.com/tip-of-the-week/cpp/blob/master/tips/197.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                            Info
                                                                                                                                                                                                                                                                                                                                                              @@ -34569,7 +34654,7 @@ using copy_if = detail::type_filter<TExpr, Ts...>; 196 - Did you know that Lambdas in Unevaluated Context combined with Immediately Invoked Function Expressions (IIFE) can be used to simplify Template Meta-Programming? https://github.com/tip-of-the-week/cpp/blob/master/tips/196.md https://github.com/tip-of-the-week/cpp/blob/master/tips/196.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                              Info
                                                                                                                                                                                                                                                                                                                                                                @@ -34688,7 +34773,7 @@ constinit auto add_pointer = type_list<decltype([](auto v) 195 - Did you know that C++20 added support for `[[no_unique_address]]` attribute? https://github.com/tip-of-the-week/cpp/blob/master/tips/195.md https://github.com/tip-of-the-week/cpp/blob/master/tips/195.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                                Info
                                                                                                                                                                                                                                                                                                                                                                  @@ -34811,7 +34896,7 @@ struct [[gnu::packed]] foo { 194 - Did you know about C++23 proposal to add `views::enumerate`? https://github.com/tip-of-the-week/cpp/blob/master/tips/194.md https://github.com/tip-of-the-week/cpp/blob/master/tips/194.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                                  Info
                                                                                                                                                                                                                                                                                                                                                                    @@ -34995,7 +35080,7 @@ struct enumerate { 193 - Did you know that C++20 added support for `constexpr new`? https://github.com/tip-of-the-week/cpp/blob/master/tips/193.md https://github.com/tip-of-the-week/cpp/blob/master/tips/193.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                                    Info
                                                                                                                                                                                                                                                                                                                                                                      @@ -35128,7 +35213,7 @@ struct unique_ptr { 192 - Did you know about `std::expected` proposal for error handling? https://github.com/tip-of-the-week/cpp/blob/master/tips/192.md https://github.com/tip-of-the-week/cpp/blob/master/tips/192.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                                      Info
                                                                                                                                                                                                                                                                                                                                                                        @@ -35327,7 +35412,7 @@ struct expected : std::optional<T> 191 - Did you know that expression evaluation order is not specified? https://github.com/tip-of-the-week/cpp/blob/master/tips/191.md https://github.com/tip-of-the-week/cpp/blob/master/tips/191.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                                        Info
                                                                                                                                                                                                                                                                                                                                                                          @@ -35427,7 +35512,7 @@ int main() { 190 - Did you know that C++20 added `ostream_joiner` that writes successive objects into the basic_ostream separated by a delimiter? https://github.com/tip-of-the-week/cpp/blob/master/tips/190.md https://github.com/tip-of-the-week/cpp/blob/master/tips/190.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                                          Info
                                                                                                                                                                                                                                                                                                                                                                            @@ -35620,7 +35705,7 @@ public: 189 - Did you know that Compile Time Regular Expressions support extracting matches? https://github.com/tip-of-the-week/cpp/blob/master/tips/189.md https://github.com/tip-of-the-week/cpp/blob/master/tips/189.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                                            Info
                                                                                                                                                                                                                                                                                                                                                                              @@ -35873,7 +35958,7 @@ constexpr auto parse_args<empty>(std::string_view input) -> empty { 188 - Did you know about proposal to add Compile Time Regular Expressions? https://github.com/tip-of-the-week/cpp/blob/master/tips/188.md https://github.com/tip-of-the-week/cpp/blob/master/tips/188.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                                              Info
                                                                                                                                                                                                                                                                                                                                                                                @@ -36234,7 +36319,7 @@ static_assert(ctre::match<".*">("hello world")); 187 - Did you know that C++17 made exception specifications be part of the type system? https://github.com/tip-of-the-week/cpp/blob/master/tips/187.md https://github.com/tip-of-the-week/cpp/blob/master/tips/187.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                                                Info
                                                                                                                                                                                                                                                                                                                                                                                  @@ -36443,7 +36528,7 @@ constexpr auto function_pointer_maker() -> decltype(&T::template operator 186 - Did you know Non-Type Template Parameters (NTTP) with User-Defined Literals (UDL) can be used to get compile-time strings? https://github.com/tip-of-the-week/cpp/blob/master/tips/186.md https://github.com/tip-of-the-week/cpp/blob/master/tips/186.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                                                  Info
                                                                                                                                                                                                                                                                                                                                                                                    @@ -36637,7 +36722,7 @@ constexpr auto fixed_format(auto format, auto... args) { 185 - Did you know about the proposal to make `printf` compile-time safe and with named arguments? https://github.com/tip-of-the-week/cpp/blob/master/tips/185.md https://github.com/tip-of-the-week/cpp/blob/master/tips/185.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                                                    Info
                                                                                                                                                                                                                                                                                                                                                                                      @@ -36916,7 +37001,7 @@ constexpr auto has_valid_args(auto fmt, auto... args) { 184 - **Did you know that you can customize formatter for your classes with `std::format`**? https://github.com/tip-of-the-week/cpp/blob/master/tips/184.md https://github.com/tip-of-the-week/cpp/blob/master/tips/184.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                                                      Info
                                                                                                                                                                                                                                                                                                                                                                                        @@ -37166,7 +37251,7 @@ struct fmt::formatter<foo<Ts...>> { 183 - Did you know that `Formatted output` has been accepted into C++20? https://github.com/tip-of-the-week/cpp/blob/master/tips/183.md https://github.com/tip-of-the-week/cpp/blob/master/tips/183.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                                                        Info
                                                                                                                                                                                                                                                                                                                                                                                          @@ -37362,7 +37447,7 @@ id_continue ::= id_start | digit 182 - Did you know about the proposal to add Non-terminal variadic template parameters? https://github.com/tip-of-the-week/cpp/blob/master/tips/182.md https://github.com/tip-of-the-week/cpp/blob/master/tips/182.md - Tue, 16 Apr 2024 09:11:14 GMT + Sun, 21 Apr 2024 16:16:34 GMT

                                                                                                                                                                                                                                                                                                                                                                                          Info