some more validation, using static_assert for the first time :-)
some more validation, using static_assert for the first time :-)

git-svn-id: 4e7379b20b57f8e3dde5a0b7363f233184647162@1812 4e380d45-d1fd-0310-85a7-d18ec86df0ad

sriram-mahavadi/extlp,sriram-mahavadi/extlp,sriram-mahavadi/extlp,sriram-mahavadi/extlp