MagentaTreehouse

Results comments of MagentaTreehouse

In addition, the program contains undefined behavior even with the non-`ranges` version. See the requirement for predicates in [[algorithms.requirements]/p6](https://timsong-cpp.github.io/cppwp/n4950/algorithms.requirements#6.sentence-4): > Given a glvalue `u` of type (possibly const) `T` that...

The point is not about modifying arguments/globals. The requirement violated is in the [last sentence](https://timsong-cpp.github.io/cppwp/n4950/algorithms.requirements#6.sentence-4) of that paragraph as I highlighted and quoted in my previous comment. Specifically to your...

Reduced (https://godbolt.org/z/a84Tc973T): ```c++ template struct traits { using type = T; }; template class unordered_set { public: template unordered_set(T) {} }; template unordered_set(T, U = U()) -> unordered_set; template using...

Reduced a bit: ```c++ template struct A {}; template using Foo = A; template using Bar = Foo; Bar a{}; ``` Output: ```console :10:5: error: no viable constructor or deduction...

This is crash-on-invalid as shown rejected here: > This is trunk only: https://godbolt.org/z/xKzebsxzP