MHebes

Results 15 issues of MHebes

For example, see https://github.com/facebook/folly/blob/main/folly/fibers/README.md#basic-example The code block has a lambda in it, which should appear like this: ```c++ fiberManager.addTask([&]() { ``` However, because of how the README is rendering code...

When comparing two commits, I would like to ignore any code style changes so I can just see the actual differences. i.e. this change: ``` thing { a, b }...

enhancement
text compare/merge

The `__cplusplus` macro is [broken by default on MSVC](https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/) and can be fixed by a compiler switch (`/Zc:__cplusplus`). Without the compiler flag, `ASIO_NODISCARD` is defined to a blank macro because...

### Description This conversion function: https://github.com/nlohmann/json/blob/7efe875495a3ed7d805ddbb01af0c7725f50c88b/include/nlohmann/detail/conversions/to_json.hpp#L416C1-L420C2 ```c++ template inline void to_json(BasicJsonType& j, const std_fs::path& p) { j = p.string(); } ``` uses `p.string()`, which does not give a UTF-8-encoded string...

kind: bug
state: please discuss

**Describe the bug** When using a generic-extended argument as the parameter to `socket.on`, I cannot properly type the callback. The full error message is: ``` Argument of type '(data: any)...

needs investigation

Ran into a problem. I wanted to use a `plain_guarded` to wrap a member variable. I have a getter to return a copy of that member variable: ```c++ class thing...

`std::atomic` has been [specialized for `std::shared_ptr` in C++20](https://en.cppreference.com/w/cpp/memory/shared_ptr/atomic2). Using the `std::atomic_*` function instead causes a compiler warning at least on MSVC for C++ 20. Theoretically one could choose which ASP...

I am trying to build a basic hello world program, and am getting some linker errors. I'm on windows with visual studio 2022 (`cl.exe` version is `Microsoft (R) C/C++ Optimizing...

O-Community

Fix “Schedulig” :)

`Input` just internally buffers its data as soon as it gets it. `Mixer` also calls `this.push` without checking the return value for backpressure. Both of these would need to change...