subspace
subspace copied to clipboard
A concept-centered standard library for C++20, enabling safer and more reliable products and a more modern feel for C++ code.; Also home of Subdoc the code-documentation generator.
Currently MSVC can not build subspace. 17.4.2 works ✅ 17.6.3 does not 🚫 Github windows-latest has upgraded to 17.6.3 so we can't run MSVC bots. Github windows-2019 has MSVC 16...
Fixes #267
When E in Result is a NeverValueField type, we could use that to tell if T or E is present without a third field. We can do this by storing...
From https://research.checkpoint.com/2023/rust-binary-analysis-feature-by-feature/ we see rust generates seto for integer math, meaning it uses the overflow register rather than checking values being added. From https://stackoverflow.com/questions/48020613/gcc-inline-asm-x86-cpu-flags-as-input-dependency we see there is __builtin_add_overflow which...
Clone-on-write lets you store a reference but on write it can convert to an owned version of the same type. [std.rs/cow](https://doc.rust-lang.org/stable/std/borrow/enum.Cow.html) To work with it as an lvalue more, and...
- [ ] [HashMap](https://doc.rust-lang.org/stable/std/collections/struct.HashMap.html) - [ ] [HashSet](https://doc.rust-lang.org/stable/std/collections/struct.HashSet.html) - [ ] [BTreeMap](https://doc.rust-lang.org/stable/std/collections/struct.BTreeMap.html) - [ ] [BTreeSet](https://doc.rust-lang.org/stable/std/collections/struct.BTreeSet.html) - [ ] [VecDeque](https://doc.rust-lang.org/stable/std/collections/struct.VecDeque.html) - [ ] ? [FlatMap](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0429r9.pdf) and FlatSet - [ ]...
Provide a context method on Error which can throw it away or use it, and implement it for Box and std::string? Storing context is very important use case given by...
https://research.swtch.com/ub Points out std::sort can OOB if the Ord impl is invalid. We don’t want that!! So get off std::sort and std::unstable_sort
See https://github.com/rust-lang/rust/issues/79524 for prior art. It was meant to be stabilized but collided with itertools. https://docs.rs/itertools/0.8.0/itertools/trait.Itertools.html#method.intersperse For how it works.