Skip to content

Commit 7bbcc2c

Browse files
Merge commit 'cdcba01'
2 parents 8dc3691 + cdcba01 commit 7bbcc2c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

classdesc.h

+7-5
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ namespace std
5252
#endif
5353

5454

55-
/*
56-
Classdesc is now dependent on TR1. These can either
57-
be obtained from the compiler's standard library, or from Boost.
58-
TODO: check that this works with Boost!
59-
*/
55+
#if defined(__cplusplus) && __cplusplus<201103L
56+
/*
57+
Classdesc is now dependent on TR1. These can either
58+
be obtained from the compiler's standard library, or from Boost.
59+
TODO: check that this works with Boost!
60+
*/
6061
#ifdef TR1
6162
#include <tr1/type_traits>
6263
#if !defined(__ICC) || __ICC > 1100 //tr1 shared_ptr impl not functional with icc 10.1
@@ -66,6 +67,7 @@ namespace std
6667
#include <boost/tr1/type_traits.hpp>
6768
#include <boost/tr1/memory.hpp>
6869
#endif
70+
#endif
6971

7072
/** \namespace classdesc \brief Contains definitions related to
7173
classdesc functionality

0 commit comments

Comments
 (0)