Scopira  20080306
tr1.h
1 
2 /*
3  * Copyright (c) 2010 National Research Council
4  *
5  * All rights reserved.
6  *
7  * This material is confidential and proprietary information of
8  * National Research Council Canada ("Confidential Information").
9  * This Confidential Information may only be used and reproduced
10  * in accordance with the terms of the license agreement.
11  *
12  */
13 
14 #ifndef __INCLUDED_SCOPIRA_TOOL_TR1_H__
15 #define __INCLUDED_SCOPIRA_TOOL_TR1_H__
16 
17 /*
18 
19  This header imports some usefil stuff from TR1
20  and puts them in the std namespace.
21 
22  This is done to iron out some inconsistancies
23  on TR1 handling between VC++ and GNU C++
24 
25 */
26 
27 #include <scopira/tool/platform.h>
28 
29 #ifdef PLATFORM_win32
30 #include <memory>
31 #include <functional>
32 #else
33 #include <tr1/memory>
34 #include <tr1/functional>
35 #endif
36 
37 // fold the tr1 namespace into std
38 namespace std
39 {
40  using namespace std::tr1;
41  using namespace std::tr1::placeholders;
42 }
43 
44 #endif
45 
STL namespace.