
On 11/19/06 4:53 AM, "AlisdairM" <alisdair.meredith@uk.renaultf1.com> wrote:
This is another patch for a test case, as it is the test case that exploits the Borland bug.
Essentially, BOOST_STATIC_CONSTANT cannot be used inside a member template on this compiler, so we need to fall back on using an enum in those cases.
Isn't BOOST_STATIC_CONSTANT supposed to switch to an enum-based solution in those cases? Maybe the fix is to change the #defines that determine which implementation BOOST_STATIC_CONSTANT uses. Unless the problem is that the non-enum solution works in the same kinds of blocks that are not member class templates.
Updating the test case with this workaround shows that Borland can use the tested library correctly, so I would like to apply the patch to both mainline and rc_1_34_0 branch.
-- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT hotmail DOT com