News for hackers. Stuff that matters.
Re:Why C++ Is Not "Back" by 4ad on Wednesday December 05, 2012 @07:11PM (#4879465)

  type T struct {
  	X, Y P
  	J *Q
  	Z [42]struct {
  		A R
  		W [100]S
  	}
  }
Please note that P, Q, R and S are arbitrary types, not just a subset of value types, and an instance of T is contiguous in memory.
Re:Why C++ Is Not "Back" by pjmlp on Thursday December 06, 2012 @03:26AM (#4880860)
Ah ok, now I understand your point and you're right.

I was actually under the impression that any value type could be used in fixed buffers.

You can however workaround that by using fixed byte buffers with serialization, but it is not so programmer friendly.