Prevent passing of non-POD types to POD-only interfaces.

Reviews: @rec @howardhinnant