Community
Participate
Working Groups
Here is test.hpp: enum class my_enum {foo}; Here is test.cpp: #include "test.hpp" void f() { my_enum m = my_enum::foo; } If I now rename "foo" to "bar" (whether from test.hpp or test.hpp), the name in the other file one does not change. It works fine if everything is in same file, or if it's just a regular enum as opposed to enum class.
Works with the current master.