Month: July 2015

Iterator invalidation rule in c++

learn the iterator rules:

http://stackoverflow.com/questions/6438086/iterator-invalidation-rules

Advertisements

memory alignment in C

how compiler will do memory alignment in C.

what we can do to reduce extra space usage caused by memory alignment in C

http://www.catb.org/esr/structure-packing/

http://www.ibm.com/developerworks/library/pa-dalign/

http://wr.informatik.uni-hamburg.de/_media/teaching/wintersemester_2013_2014/epc-14-haase-svenhendrik-alignmentinc-paper.pdf

http://stackoverflow.com/questions/381244/purpose-of-memory-alignment