
30 Nov
2004
30 Nov
'04
11:58 a.m.
Joaquín Mª López Muñoz wrote:
Yes. Pavel proposes to add this informative macro and *no* workaround, so that it's up to the user to use is_abstract in defective compilers (even risking a crash) or build some internal logic to avoid it based on the macro.
Thinking about it, I tend to agree with Pavel and you: returning false is not necessarily a reasonable default, so I'd go for the macro, only (and ask Robert to fix his hack in Boost.Serialization.)
It seems to me that true is the appropriate safe default for is_abstract. Am I missing something? -- Dave Abrahams Boost Consulting http://www.boost-consulting.com