You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is_complete<T&>::value is currently defined to be the value of is_complete<T>::value. This is incorrect. According to the standard, all lvalue reference types and rvalue reference types are complete types.
In [basic.types]:
A class that has been declared but not defined, an enumeration type in certain contexts (9.6), or an array of unknown bound or of incomplete element type, is an incompletely-defined object type. Incompletely-defined object types and cv void are incomplete types (6.7.1). Objects shall not be defined to have an incomplete type.
References do not fall under any of the above cases and are therefore complete.
The text was updated successfully, but these errors were encountered:
is_complete<T&>::value
is currently defined to be the value ofis_complete<T>::value
. This is incorrect. According to the standard, all lvalue reference types and rvalue reference types are complete types.In [basic.types]:
References do not fall under any of the above cases and are therefore complete.
The text was updated successfully, but these errors were encountered: