4.6 Transition Guide

It was transparent in the old way
[/QUOTE]

Nor should it ever have been. C style enums are not type safe, and implicit conversions thereof have been a recurrent source of errors. People have come up with workarounds like namespace enums to try and guarantee some sort of type safety, but it’s still imperfect because of those implicit conversions.

Just static_cast to/from enum class, it spells out what you mean to do and helps make sure you’re not implicitly casting the wrong thing by accident.