Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2004-06-22 07:45:26

Some months ago I proposed to include a defect macro
to detect some defficiencies by several compilers regarding
the ability to handle pointers to data members as template

The name we came up with is


I include a little test case that successfully detects the bug
in three out of the four compilers checked to show the problem

* MSVC 6.5 (MSKB article ##249045),
* MSVC 7.0 (***)
* ICC 7.0/7.1 for Windows (support issue #207321),
* VisualAge 6.0 for AIX (internal defect #288539.)

The compiler marked with (***) does fail with the test, but only under
certain compiler settings that I've not been able to isolate properly.

When last discussed, it was argued that a new defect macro would only
sense if some lib needed it: now Boost.MultiIndex can take advantage of
(actually, the lib assumes the macro even if not currently supported by
and the problem has turned out to be more prevalent than the original
MSVC-constrained case hinted at.

Is it OK to add this to Boost.Config? Comment?


OK, added as requested.


Boost list run by bdawes at, gregod at, cpdaniel at, john at