Dana Jansens
Dana Jansens
Allow a fn to receive an iterator without being templated by receiving a `DynIterator` which dispatches through virtual or otherwise (Stack or Heap erasure like for DynFn and friends). This...
https://thephd.dev/sol3-compile-times-binary-sizes > The alternative fix is to use a std::tuple. Unfortunately, tuples are a poor idea in practice, especially on VC++ 2017. Currently, VC++’s tuple is implemented recursively, with some...
Rust does not have this ability due to lack of variadics, though the tuple_list crate has something: https://docs.rs/tuple_list/latest/tuple_list/trait.AsTupleOfRefs.html ```cpp constexpr auto as() const& { return [this](std::index_sequence) { return ::sus::Tuple( tuple_.template...
Using an `operator[]` on a type that takes `size_t` works great with unsigned types. They convert to primitives. However `operator[]` on a pointer is built in and takes a **signed**...
We want to stabilize numerics, which come with Option. But not stabilize iterators and tuples yet which are found in the Option API. We need to mark those methods as...
cc: @davidben Nothing here would compile, it's just notes for later. Also: * sus_if_msvc for attributes should be sus_if_msvc_not_cl * "language is msvc variant" vs "compiler is msvc" * sus_if_gnuc_language...
Rust provides blanket impl of TryFrom when From is satisfied: https://doc.rust-lang.org/stable/src/core/convert/mod.rs.html#762 which returns an error type of [Infallible](https://doc.rust-lang.org/stable/std/convert/enum.Infallible.html). Similarly, sus::construct::TryFrom should be satisfied, and it should be possible to call...
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...