2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-23 16:12:09 +00:00

guarding agains redefinition of BOOST_UBLAS_USE_ET

This commit is contained in:
Toon Knapen
2004-04-19 07:26:27 +00:00
parent 204d6922f2
commit ea3cd6250f

View File

@@ -337,7 +337,9 @@ namespace std {
#define BOOST_UBLAS_USE_FAST_SAME
// Use expression templates.
#ifndef BOOST_UBLAS_USE_ET
#define BOOST_UBLAS_USE_ET
#endif
// Disable performance options in debug mode
#else
@@ -352,8 +354,10 @@ namespace std {
#ifdef BOOST_MSVC
// Use expression templates (otherwise we get many ICE's)
#ifndef BOOST_UBLAS_USE_ET
#define BOOST_UBLAS_USE_ET
#endif
#endif
// Bounds check
#define BOOST_UBLAS_BOUNDS_CHECK