Wexus2 0.20
wexus2.src/wexus/TR1.h
00001 
00002 /*
00003  * Copyright (c) 2011 Aleksander B. Demko
00004  * This source code is distributed under the MIT license.
00005  * See the accompanying file LICENSE.MIT.txt for details.
00006  */
00007 
00008 #ifndef __INCLUDED_WEXUS_TR1_H__
00009 #define __INCLUDED_WEXUS_TR1_H__
00010 
00011 /*
00012  * This folds std::tr1::shared_ptr into std::shared_ptr
00013  * if need be, so that it is consistance across platforms.
00014  */
00015 
00016 #include <QtGlobal>
00017 
00018 #ifdef Q_OS_WIN32
00019 #include <memory>
00020 #include <functional>
00021 #include <array>
00022 #else
00023 #include <tr1/memory>
00024 #include <tr1/functional>
00025 #include <tr1/array>
00026 
00027 #endif
00028 
00029 namespace std
00030 {
00031   using namespace std::tr1;
00032   using namespace std::tr1::placeholders;
00033 }
00034 
00035 #endif
00036 
 All Classes Namespaces Functions Variables Enumerations Enumerator