Page Menu
Home
Search
Configure Global Search
Log In
Differential
D1185
Diff 3752
intern/cycles/util/util_foreach.h
Changeset View
That's not totally correct i'm afraid.
Should be
Now, ideally we should define CYCLES_USE_CPP11 in util_types.h in order to avoid this rather obscure condition happening allover the place, but the issue with this is util_types.h is not guaranteed to be included before other includes.
We could introduce util_compiler.h and such checks/defines into there and include this header before checking for C++11.
Or for now we might just not bother and copy-paste longer ifdef :)