I have a similar problem working with unsigned types for which I can't create a class either. The best solution I have found is to just use typaliases. They won't provide compile time safety but it's better than nothing. Perhaps someone else knows a better solution.