File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff 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 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments