Sha256: 271794761e56d7443d8dec2c8a17f35b05c37d4eea76238d9c005d671afd24f7
Contents?: true
Size: 1.47 KB
Versions: 18
Compression:
Stored size: 1.47 KB
Contents
//! \file TR1.hpp //! Includes all parts of C++03 (TR1) that are relevant for Gosu. It makes available the following members of the std::tr1 namespace: array, bind, function, shared_ptr, uint*_t and int*_t. #ifndef GOSU_TR1_HPP #define GOSU_TR1_HPP #include <memory> #if defined(_MSC_VER) || defined(_LIBCPP_MEMORY) #include <array> #include <functional> namespace std { namespace tr1 { typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef unsigned long long uint64_t; typedef signed char int8_t; typedef signed short int16_t; typedef signed int int32_t; typedef signed long long int64_t; #ifdef _LIBCPP_MEMORY using std::array; using std::bind; using std::function; using std::shared_ptr; #endif } } #else #include <tr1/array> #include <tr1/memory> #include <tr1/functional> #if defined(__GNUC__) && (__GNUC__ < 4 || __GNUC_MINOR__ < 2) #include <stdint.h> namespace std { namespace tr1 { using ::int8_t; using ::int16_t; using ::int32_t; using ::int64_t; using ::uint8_t; using ::uint16_t; using ::uint32_t; using ::uint64_t; } } #else #include <tr1/cstdint> #endif #endif #endif
Version data entries
18 entries across 18 versions & 1 rubygems