Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2017
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. C++14
  2.  
  3. 3.10 Lvalues and rvalues
  4.  
  5. 10
  6. If a program attempts to access the stored value of an object through a glvalue of other than one of the
  7. following types the behavior is undefined:54
  8. — the dynamic type of the object,
  9. — a cv-qualified version of the dynamic type of the object,
  10. — a type similar (as defined in 4.4) to the dynamic type of the object,
  11. — a type that is the signed or unsigned type corresponding to the dynamic type of the object,
  12. — a type that is the signed or unsigned type corresponding to a cv-qualified version of the dynamic type
  13. of the object,
  14. — an aggregate or union type that includes one of the aforementioned types among its elements or nonstatic
  15. data members (including, recursively, an element or non-static data member of a subaggregate
  16. or contained union),
  17. — a type that is a (possibly cv-qualified) base class type of the dynamic type of the object,
  18. — a char or unsigned char type.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement