Checking if a vector of structs is contiguous in memory

I love the manually digging through memory approach. And for those who want an easier way, @tkf told me about Base.allocatedinline which does precisely this. When will a vector of structs be contiguous in memory? - #2 by tkf