add some static asserts, use them, fix gcc 4.3 warning in Product.h.
4 files changed