aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-09-21 23:35:24 -0700
committerChris Robinson <[email protected]>2019-09-21 23:35:24 -0700
commit5f6a35c960da4174670640fc9a805186968694df (patch)
treeed5b5e7dfd5e33a85990c644c2e551dd8cd2fbc9 /alc/alu.h
parent9325f1d507e20b90b799217a9faa7ed9d55b0be7 (diff)
Avoid storing an integer in a pointer
C++ does not guarantee that, given an int of sufficient size, converting int->ptr->int will result in the original value. A pointer may have more than one integer representation. Only ptr->int->ptr round trips are well-defined.
Diffstat (limited to 'alc/alu.h')
0 files changed, 0 insertions, 0 deletions