MagentaTreehouse
MagentaTreehouse
Looks like #131620.
@shafik Looks like a duplicate of #129397.
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...
This is likely #63271. See also #86240.
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...
Maybe related: #99845
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...
Maybe related: #75847 #124326
This is crash-on-invalid as shown rejected here: > This is trunk only: https://godbolt.org/z/xKzebsxzP