degski
degski
Does not compile with Unicode (the default, and should be used imo): cannot convert const wchar_t * to const char *. Compiling with option Multibyte code does make this compile,...
Hi, I've been trying to use your utterly un-googlable library (congrats, other suggestions: and, or, AI, etc. etc.). Trying to get some help on the internet, but yeah, sigh, googling...
In the case of smallish maps, linear search (below some threshold) will outperform binary search, f.e. converting a hex char to its decimal counterpart: frozen::map map_lookup { { '0', 0...
You asked for suggestions, so here's one. The sw::Spline class is great, I love it, but we are talking about a line (of some thickness). What I would like (and...
In pt::malloc_allocator VS does not (fully) apply empty base class optimization. This reddit post gives a solution for VS2015/U2+ https://www.reddit.com/r/cpp/comments/45bvku/msvc_finally_gets_variable_templates_and_optin/ (please note that __declspec(emptyBases) should be __declspec(empty_bases)) The signature: template...
On windows/vs2015u3, pt::pector allocated with pt::malloc_allocator < T, true, true > crashes with debug error that size_t _msize_dbg(void* const block, int const block_use) has been passed a nullptr to block....
For the diagonal directions, it seems your distance calculation is wrong, it might be the correct distance as the crow flies, but you cannot walk like that in Manhattan (nor...
... because [std::unary_function was removed in C++17](https://en.cppreference.com/w/cpp/utility/functional/unary_function). 1>In file included from y:\vcpkg\installed\x64-windows-static\include\experimental/bit_mask.hpp:10: 1>y:\vcpkg\installed\x64-windows-static\include\experimental/fundamental/v3/bits/bit_mask.hpp(627): error : unknown template name 'unary_function'
https://www.reddit.com/r/cpp/comments/99cggw/boostmultiindex_introducing_c17_terse_key/ Please consider adding the above.