Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 2000-10-16 19:23:38


I just finished porting the graph library too Borland C++ 5.5.

There was one nasty little Borland bug that is worth sharing. The
Borland compiler would produce very strange results when trying to use
the meta if (currently in <boost/pending/ct_if.hpp>). The problem had
to do with partially specializing the template class on an integer
value. The fix was to create an alternate form of the meta if that
specialized on types (true_type and false_type) instead of integers (1
and 0).

Cheers,

Jeremy


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