I have been looking at the FlatBuffers library recently. I was looking to evaluate it for use in my project. Upon looking at flatbuffers.h, I am wondering if there is a violation of the strict-aliasing rule and if it does account for strict aliasing, can someone explain how it does this?
In previous projects, I have learned this rule the hard way, optimization gives subtle bugs which are hard to find. I've been using the placement new operator to avoid using compiler flags to account for this.
Links: