
28 May
2005
28 May
'05
10:37 a.m.
I am getting the error from Intel C++ at the point of declaration of the compressed_pair specialization.
I've experimented some more, and found one bug in the current implementation: If one of the templates arguments is both const and an empty class, then compressed_pair attempts to inherit from the const-class type which generates an error for Intel C++, but not strangely for VC++. I've attached an updated version with some trivial (tested on all the compilers I have) fixes, does this fix your problem? BTW, at the risk of stating the obvious, compiler error messages really help when reporting issues (JM runs and ducks for cover!). John.