title: Pretty way to use enumarators
body: <p>In my code I need to use enumarators to make sure that only a set of values could be assigned to certain instances however, I am tired of making conversions from <code>int</code> to <code>enum</code> types and vice versa. Is there something like <code>int enum</code> to avoid those ugly looking <code>static_cast</code>s?</p>