jaskij
jaskij
JB Rust plugin in general doesn't seem to work with any sort of `#[derive]` macro. Little to do in the crate itself.
Use [`emplace`](https://en.cppreference.com/w/cpp/container/unordered_map/emplace) ```cpp BETTER_ENUM(encodings_e, int, RED, GREEN, BLUE ) std::unordered_map map; map.emplace(std::make_pair("rr", encodings_e::RED); encodings_e foo = map["rr"]; std::cout
@aantron since I'm dealing with Better Enums now anyway I've tested this, also using gcc 9.3. **TL;DR**: `operator[]` for `std::map` and `std::unordered_map` requires the value type to be default constructible....
@biziosan I don't know if you read my last message, but regardless of `emplace()`, without a public default constructor you can't use `operator[]` with maps, so that might be a...
Re: determinism on the part of OS, I'm doing some microbenchmarks (code that compiles to a single AVX instruction), and seeing around ~3-5% of run-to-run variation. I'm working under Linux...
Similarly, the application protocol spec is also changed (there's one "master/slave" pair in an image which likely is an omission) Links: - [declaration of name change](https://modbus.org/docs/Client-ServerPR-07-2020-final.docx.pdf) - [current application protocol...
> I guess it would make sense to simply reuse the `CellAlignment` enum. I wonder if it could be made into a bit flag without breaking the API. You could...
For reference, here's [how Qt does it](https://doc.qt.io/qt-5/qt.html#AlignmentFlag-enum). I did some quick experimentation with `enumflags2` and actually can't come up with an idea which: - wouldn't expose the `BitFlags` type as...
Works _almost_ fine for me. Vim 8.2, current versions of `nord-vim` and `cespare/vim-toml`. There is a problem with `Title` syntax though. Edit: I just noticed that I'm on the (default)...
Without even digging too much into it, I've noticed a workaround for AsciiDoc and shamelessly copied it, see the pull request