Skip to content

[intro.memory] What is a "field"? #1569

@morinmorin

Description

@morinmorin

In [intro.memory] (the C++ memory model), there are several occurrences of the word "field":

  • p4: if all fields between them are also bit-fields of non-zero width.
  • p5: The field a and bit-fields d and e.ee are each separate memory locations, …

While that word is a popular terminology in programming (and in fact it is used in diagnostic messages in some C++ compilers), it is not a defined term in C++.

So would it be better to add a note saying '"field" means a non-static data member'?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions