@eeuoss You return a dangling reference to `invocable`. `std::move` is just a reference cast. Proper capture would be:
`[inv=auto{std::move(invocable)}]`
, so that `invocable` is actually moved/copied. In general, I'd avoid capture lists in favor of `std::bind` library.
@nicbarkeragain There's no problem with him. You are the land mine. You can make rules enforcing all trivial fields to have defaults. That's way easier than explicit default initialization of all objects, because field is part of the class def. He has cetntralized errors in type declarations.
@TrisH0x2A It triggers division by 0. Line 20 is definitely wrong. It should be [[unlikely]] either a `memset`, or [[likely]] some different floating point expression.
@LundukeJournal The `unsafe` keyword was present back in 2000s. C# had it. We all knew it wouldn't bring safety. When a frontend VM language overreached for bare metal, it was obviously on the route to be an unsafe-spammer.
@aslambeg84 There are only two possible states of low power consumption in electric circuits: either high current at low voltage, or low current at high voltage. A 3rd state would dramatically increase power consumption, as well cooling systems complexity.
@tsoding Try C++ variadic templates then. It's been there since C++11, with gradual improvements on each std version. Bonus, C++23 has `print` typesafe, fast, and extensible via user code.
@__phantomderp Your problem is overcomplication. We need a keyword that returns a fixed-sized raw char array. The library can be built around that keyword. Drop the `std` prefix. Make a keyword with pseudo signature:
`char (&embed(string_like auto))[detect_size];` to import binary data.
@wangzhr4 Last time, I had a terrible time moving those folders on windows to another volume, so the paging space on main drive remained clear. At least on a linux system such task is as easy as a mount or soft link definition.
@dark_coderz Open source doesn't mean easy, or simple. Shear number of components is beyond the capacity of small teams. Linux too has dedicated paid dev teams, with random contributions from public community. The board is supported by GNU – an influential organization. It's free, just like X
@RuskiZoomer It's possible to avoid dynamic containers and standard smart pointers in C++. The rest is free lunch. A real problem lies within the academy, and dinosaurs who cannot teach C++. A follow up problem is leaving the embedded grounds to electronics technicians. SW must grow spine.
@dark_coderz Heisenberg rules the nano world. Lithography is at its limits dealing with nonometer sized transistors. We need to get smaller to get faster. But that requires tech, that is not invented yet.
@ChShersh No it was due to missing `memset_explicit` in a cryptographic allocator, that allowed a side channel attack on the released memory, and critical information theft. :)
@dark_coderz Because primary AI models train on text data, and started development more than 3 decades ago, when string management in C++ didn't provide efficient, and easy solutions. Major tech like X have aleardy begun to flip the switch lowkey. We'll read about it in another decade.
@Boost_Libraries Why do you hate `std::flat_map` so much? I know boost did ot first, just like many other class. But isn't it the main objective to prototype libraries for standardization?