Opened 12 years ago

Closed 12 years ago

#4221 closed Bugs (fixed)

Embarcadero (codegear) 6.21 and later do have static_assert

Reported by: niels_dekker Owned by: John Maddock
Milestone: Boost 1.43.0 Component: config
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc:

Description

https://svn.boost.org/svn/boost/trunk/boost/config/compiler/codegear.hpp says:

  #define BOOST_NO_STATIC_ASSERT

However, Embarcadero/codegear 6.21 and later do have static_assert. As David Dean told us. He suggested:

  #if (__CODEGEARC__ <= 0x620)
  #define BOOST_NO_STATIC_ASSERT
  #else
  #define BOOST_HAS_STATIC_ASSERT
  #endif

Can you please fix it?

Change History (1)

comment:1 by John Maddock, 12 years ago

Resolution: fixed
Status: newclosed

(In [62083]) Codegear C++ has static_assert. Fixes #4221.

Note: See TracTickets for help on using tickets.