|
Boost : |
From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2006-02-09 15:30:01
AlisdairM wrote:
> Eric Niebler wrote:
>
> [...]
With the typo-fix below all tests pass with 5.6.4 and 5.6.5 (except the two expected failures). I was looking forward to some real BCC-bug-poking-fun, actually... ;-/
Anyway, OK to commit?
Regards,
Tobias
// Borland needs a little extra help with arrays
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
template<typename T,std::size_t N>
-inline T (*&to_ptr(T (&t)[N]))[N]
+inline T (*&to_ptr(T (&)[N]))[N]
{
static T (*t)[N] = 0;
return t;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk