Replaced exception by static_assert
Address issue #185
Fixed typo
Merge pull request #189 from tb38/test_is_regular

 Regular Type Compile Check #185