Skip to content
New issue

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

Spurious remove_all_extents<T> in is_destructible definition #1644

Closed
Dani-Hub opened this issue Jun 15, 2017 · 1 comment
Closed

Spurious remove_all_extents<T> in is_destructible definition #1644

Dani-Hub opened this issue Jun 15, 2017 · 1 comment

Comments

@Dani-Hub
Copy link
Member

In Table 42 — "Type property predicates" for

template <class T>
struct is_destructible;

the relevant text in the Condition column is:

Either T is a reference
type, or T is a complete
object type for which the
expression
declval<U&>().~U() is
well-formed when treated
as an unevaluated operand
(Clause 8), where U is
remove_all_extents<T>.

The end of the sentence should refer to

remove_all_extents_t<T>

instead of

remove_all_extents<T>.

For the record: This was correctly using remove_all_extents<T>::type in

http://cplusplus.github.io/LWG/lwg-defects.html#2049

@timsong-cpp
Copy link
Contributor

Introduced by 7997487.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants