Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. COI don't "consider" anything. "implementation defined" was defined in the C89 ANSI standard, and the same definition is used in C++. Only things that the standard describe as "implementation defined" are considered "implementation defined": **if something is "implementation defined", then the implementation is required to document it**. The implementation is of course allowed to also document anything it wants. It may describe the order of evaluation of `operator +` arguments, but that is not required. It may document the layout of the vtable, but that is not required.
      singulars
    2. CO"_it is the implement's responsibility to determine the layout_" the implementation must also choose one order of evaluation out of two possibilities every time you write `f(g(),h())`, but the way it chooses one is rarely described. The implementation is responsible for many things which are not documented except in the source code.
      singulars
    3. CO@curiousguy Which is exactly what the answer was trying to express: _You must not make any assumptions about the class layout_. The term _implementation-defined_ here suffers from slightly different meanings in ISO-speak and in colloquial speech (which is the case for many terms used in the standard). To avoid this source of confusion I changed the wording of the answer. We could have done this in a lot less posts if your original post already contained the information from your second-to-last one. Thanks for staying with me though.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload