Farid Zaripov wrote:
The 27.istream.unformatted.get.cpp and 27.istream.fmat.arith.cpp tests are failed to compile on MSVC 9.0 due to enum member name conflict:
[...]
We need to rename it to something. I can't invent the suitable name, unless adding the unredscores :) BTW it seems that this member is not used for now. Maybe we should just remove it?
If it's not used for anything I say get rid of it :) Another option, at least until we have strongly typed enums in the language (see N2347: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2347.pdf) would be to make MemFun a struct around the enums: struct MemFun { enum { ... Throw = 0x1000, Failure = 0x2000, Unknown = 0x4000 }; }; Martin