
1 Feb
2006
1 Feb
'06
5:26 p.m.
I think I just found a better solution - if the base classes of compressed_pair_imp are protected instead of private, then DMC compiles this fine (and four other compilers I've tested too), and the code isn't cluttered with macros.
Just to be clear about this: if I change the base classes to protected, and remove the explicit casts, then it works OK with DMC? If so that gets us almost back to the original code, and should work everywhere. John.