You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems MSVC does not support constexpr properly. Instead of littering the code with ifdefs, does it make sense to define a 'OSMIUM_CONSTEXPR' once depending on compiler and use that? Are all cases of constexpr problematic, or only some of them?
Only the most "hard" constexpr are not supported by November CTP. For example, ones returning objects. Nothing wrong with "compiler-calculated constants".
We can use OSMIUM_CONSTEXPR for them (including some common header?)
The support will be better in VS 14 but it is better to have compilable version before it.
It seems MSVC does not support
constexpr
properly. Instead of littering the code with ifdefs, does it make sense to define a 'OSMIUM_CONSTEXPR' once depending on compiler and use that? Are all cases of constexpr problematic, or only some of them?@alex85k: Opinions?
The text was updated successfully, but these errors were encountered: