Apply Vincente Botet's patches for BOOST_CONSTEXPR.

[SVN r66746]
This commit is contained in:
John Maddock
2010-11-25 10:39:02 +00:00
parent 0fedb0bd92
commit fe294afd78
8 changed files with 205 additions and 91 deletions
+14
View File
@@ -654,5 +654,19 @@ namespace std{ using ::typeinfo; }
# ifndef BOOST_GPU_ENABLED
# define BOOST_GPU_ENABLED
# endif
//
// constexpr workarounds
//
#if defined(BOOST_NO_CONSTEXPR)
#define BOOST_CONSTEXPR
#define BOOST_CONSTEXPR_OR_CONST const
#else
#define BOOST_CONSTEXPR constexpr
#define BOOST_CONSTEXPR_OR_CONST constexpr
#endif
#define BOOST_STATIC_CONSTEXPR static BOOST_CONSTEXPR_OR_CONST
#endif