推論補助 -- stack: C++23 P1245R4対応

1 · cpprefjp · Aug. 17, 2021, 10:09 a.m.
diff --git a/reference/stack/stack/op_deduction_guide.md b/reference/stack/stack/op_deduction_guide.md index 5e3d77842..5daad1fe8 100644 --- a/reference/stack/stack/op_deduction_guide.md +++ b/reference/stack/stack/op_deduction_guide.md @@ -10,11 +10,21 @@ namespace std { stack(Container) -> stack<typename Container::value_type, Container>; // (1) + template<class InputIterator> + stack(InputIterator, InputIterator) + -> stack<iter-value-type<InputIterator>>; // (2) C++23 + te...