achabense
achabense
I'm working on a project for exploring [MAP-rules](https://conwaylife.com/wiki/Non-isotropic_rule). It's been in the final stage of development, will go public very soon :)  5/3 finally :| ~~https://github.com/achabense/astral~~ 6/17 renamed to...
Hmm, the impl is still not correct... try: ``` std::deque deq(128); for (int i = 0; i < 120; i++) { deq.pop_back(); } for (int i = 0; i <...
(ignorable) ```cpp void shrink_to_fit() { if (empty()) { if (_Map() != nullptr) { _Reset_map(); } return; } const _Map_difference_type _Index_mask = _Map_distance() - 1; const _Map_difference_type _First_block_idx = _Getblock(_Myoff()); const...
>What's key_comparer? ``` struct key_comparer { const auto& extract_key(const auto& obj) const { if constexpr (requires { obj.key; }) { return obj.key; } else { return obj; } } bool...
This issue is motivated by https://github.com/microsoft/STL/pull/4084#discussion_r1364691294. #4084 tried to make the insertion "conformant". However, I believe the current specification is a defect in the standard, and will put transparent insertion...
This is failing even after #3148. The problem is that there are intentional ADL `swap`s. Is this a resolvable problem? ``` #include struct incomplete; template struct wrapper { T a;...
I think there should be a way to test `Can unqualified call` (so we can do constexpr dispatch for them). Unfortunately so far there is no way to do that.
`ranges::swap` is \*slightly\* better than unqualified `swap`: ```cpp #include #include using namespace std; struct inc; template struct wrp { T t; }; using inp = wrp*; int main() { inp...
**`&& transform_exclusive_scan(execution::par,...) has the same problem.`** It seems the usage of `_Apply_inclusive_predecessor` is wrong here. https://github.com/microsoft/STL/blob/15aea9852b557f70821651600e51d9a2b3b1a95e/stl/inc/execution#L4841-L4847
Test ```cpp #define _CRT_SECURE_NO_WARNINGS #include #include #pragma optimize("", off) long catch_some_frames(int extra_depth) { static void* frames[4096]; if (extra_depth > 0) { return catch_some_frames(extra_depth - 1); } else { int retry...