u/afforix

13 post karma · 366 comment karma · joined Sep 2016

afforix

It is explained on the About page: https://cppreference.net/about.html.

afforix

You can try The Pitchfork Layout: https://joholl.github.io/pitchfork-website/

afforix

You don't need a magical library to solve all your problems, you need to understand why those race conditions happen. Start with identifying which variables are used by multiple threads and use a mutex to synchronize access to them.

afforix

Qt

afforix

How is this related to C++?

afforix

sudo pacman -S assimp

afforix

Does your company allow downloading the source code on your private computer?

afforix

This post is unrelated to CMake.

afforix

On Ubuntu 24.04 you can install g++-14 from the official Ubuntu repository.

afforix

Point is, in C++ you don't need to use non-standard extensions to write std::println("{}", true); (prints "true").

afforix

Switch to C++ and forget what you know from C, using C-style idioms in C++ is usually a bad practice.

afforix

std::println("{}", mask);

afforix

You can try https://corosio.org/, which aims to be a modern coroutines-native successor to Boost.Asio.

afforix

Readme says that the license is MIT, but in the LICENSE file there is BSD 3-Clause License.

afforix

Imagine how much cleaner would the code be if you would NOT use CRTP. Is there any real measurable performance gain at all?

afforix

AI took happiness from our coding...

afforix

Please do not separate all the commands with empty lines, it makes the code hard to read, half of the source are just empty lines with zero information.

afforix

Please share the full output of CMake.

afforix

Functionality should be built as a static library, so it can be linked to an executable, to a test executable, or to a DLL for distribution.

afforix

You can read how he did it in The Design and Evolution of C++.

afforix

macOS 11 is unsupported by Apple itself since 2023.

afforix

Visual Studio 2022 is an IDE, Visual Studio Code is just a customizable text editor. They are two completely different products. You can try to ask at r/vscode.

afforix

std::string_view does not own the string data, it just points to it. For example if you create std::string_view out of std::string, then the view must not outlive the underlying string. But without your code we are just guessing.

afforix

Value assigned to semesterHours on line 25 is immediately overwritten on line 26.

afforix

You return from main() on line 27.