Jonas Devlieghere
  • Home
  • About
  • Talks
  • Github
  • C++
  • LLVM
Subscribe
Tagged

performance

A collection of 1 post

C++

Order Your Members

The C++ standard guarantees that the members of a class or struct appear in memory in the same order as they are declared. Nonstatic data members of a (non-union) class with the same access control are allocated so that later members have higher addresses within a class object. The order

  • Jonas Devlieghere
Jonas Devlieghere Jan 4, 2017 • 7 min read
Jonas Devlieghere © 2022
Powered by Ghost