Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-05-24 06:56:38


>Can anyone help me figure out what's wrong and how to fix it?

I don't know how to fix it, but Borland's compiler has a lot of problems
with dropping const-qualifiers when metaprogramming, and this seems to be
the cause of your problems here.

Would compressed_pair not solve you're problems? It already supports
references as one or both params, in addition to "compressing" empty types.

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk