We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
N3797 23.6.5.1 [stack.syn] declares and 23.6.5.6 [stack.special] defines:
template <class T, class Container> void swap(stack<T, Container>& x, stack<T, Container>& y) noexcept(noexcept(x.swap(y)));
But 23.6.5.2 [stack.defn] declares:
template <class T, class Allocator> void swap(stack<T,Allocator>& x, stack<T,Allocator>& y);
stack<T,Allocator> is bogus, and this is also missing noexcept(noexcept(x.swap(y))).
stack<T,Allocator>
noexcept(noexcept(x.swap(y)))
The text was updated successfully, but these errors were encountered:
[stack.defn] Fix swap signature.
e3a55d2
Reported by Stephan T Lavavej. Fixes cplusplus#242
Successfully merging a pull request may close this issue.
N3797 23.6.5.1 [stack.syn] declares and 23.6.5.6 [stack.special] defines:
But 23.6.5.2 [stack.defn] declares:
stack<T,Allocator>
is bogus, and this is also missingnoexcept(noexcept(x.swap(y)))
.The text was updated successfully, but these errors were encountered: