3 /// Wrapper header file to use boost for tr1 support unavailable
8 Copyright (C) 2012, RealVNC Ltd.
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2 of the License, or
13 (at your option) any later version.
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19 See the GNU General Public License in the COPYING file at the
20 root directory of this project for more details.
23 #ifndef WRAPPERS_TR1_MEMORY
24 #define WRAPPERS_TR1_MEMORY
26 #include <boost/smart_ptr.hpp>
27 // Make sure some of STLPort is included (see below for reasons):
31 * Adding to or changing the std namespace (or namespaces it contains)
32 * is against the C++11 specification. However for WinCE builds STLPort
33 * is used anyway, which appears to create a #define for std to
34 * do it's modifications, therefore the following probably won't actually
35 * be seen as "namespace std" once it's through the pre-processor.
39 namespace tr1 = boost;
42 #endif // WRAPPERS_TR1_MEMORY