Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Posts by Indi
The consensus in the answers so far is that 640 kiB ought to be enough for anyone any code review request longer than 30,000 characters is not “focused”—or not “properly scoped” or not “constructiv...
C++20 modules are awesome, and the std module introduced in C++23 makes them even more awesome. Unfortunately, tooling has been slow to catch up to the promise. Heavy duty build systems like build...
Your understanding is correct: if the deleter has a member type pointer, then std::unique_ptr uses that to define its own member type pointer, and from that, most other operations. So long as you d...
Another reason that, sadly, very rarely gets mentioned is testing. Global variables make testing hard, and in some cases, functionally impossible. Any time a logical code entity—whether a class, a...
I can’t comment on mavieth’s answer, but I think their conclusion is correct; the libstdc++ std module doesn’t use the oneTBB backend. It seems like the problem is that oneTBB, when included as he...
Look into mp-units. Here is what code that does what the question mentions looks like: #include <print> // or import std; #include <mp-units/systems/si.h> // or import mp_units; ...
EDIT 3: So the C standard example is now apparently being misinterpreted. Guess I’ll have to explain it. EDIT 2: So I’ve been asked to provide sources for my answer. Fair enough. To recap, my answ...
I am not going to answer the topic question directly, because I find it rather disingenuous. It’s not just leading; it seems to already have a conclusion in mind. I am also not going to consider t...
