1
0
forked from boostorg/core
This commit is contained in:
Peter Dimov
2019-04-23 03:06:35 +03:00
parent c7f0fa8900
commit 006c159dbb

View File

@ -103,7 +103,7 @@ Explicit conversion to the underlying type should be performed with `boost::unde
unsigned int val = boost::underlying_cast< unsigned int >(ev);
In C++03, scoped enums behave differently in case of calling an overloaded function when one overload takes a scoped enum as a paramter, and the other takes a parameter of an integral type. Consider the following code:
In C++03, scoped enums behave differently in case of calling an overloaded function when one overload takes a scoped enum as a parameter, and the other takes a parameter of an integral type. Consider the following code:
enum enum_regular { REGULAR_A, REGULAR_B };