Casey Carter

Results 231 comments of Casey Carter

As of yesterday, `meta` supports Visual C++ 15.9 or greater in `/std:c++17 /permissive-` mode. (`/std:c++14 /permissive-` works for at least some things, but we provide no guarantees.)

> I'm sorry, I don't have the bandwidth to provide a PR for fixing this at the root in meta. Re-opening the issue is not a suggestion that *you* should...

It's a misnomer to say that `id` is both a trait and a callable; the class template `id` is a trait, and its specializations are callables. (Yes, `Trait` is a...

> But this doesn't work because `get_widgets()` isn't a `viewable_range` Is this still true after merging [P2415](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2415r2.html)?

> > `Container` is a custom type holding an `std::vector` and providing overloads for `begin` and `end` to a user-defined iterator with `value_type` Abstract to be used in range-based-for loops...

Notably this compiles with `BAD` defined if we comment out the _noexcept-specifier_ on `lame_invoke`: ```c++ template auto lame_invoke(F&& f, Args&&... args) // noexcept(noexcept(((F&&) f)((Args&&) args...))) -> decltype(((F&&) f)((Args&&) args...)) {...

I think the intent is that this is a compile-only test case - note the appearance of `CPP_assert` (which is a `static_assert` wrapper) but no `CHECK`s (runtime asserts) in `test_1422`....

A couple of points: * There's never a good reason to write `view::concat(single_range)`; its result is equal to `view::all(single_range)` except that it takes 10-100x as much compiletime and/or runtime. We...

Verifying my understanding: this view would present a range of all subsequences of the underlying range with length `k`?

I rebased this onto master, refactored `ext::uncounted`/`ext::recounted` to require rvalues, and tweaked some things. Let me know / point me at a branch if I've created conflicts for you, and...