Welcome to mirror list, hosted at ThFree Co, Russian Federation.

type_traits.hpp « std - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ca2a399e4808b6063cc07ed946ab8245e8a0f86e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once
#include "target_os.hpp"

#ifdef new
#undef new
#endif

#include <type_traits>

using std::conditional;
using std::enable_if;
using std::is_arithmetic;
using std::is_floating_point;
using std::is_integral;
using std::is_pod;
using std::is_same;
using std::is_signed;
using std::is_unsigned;
using std::make_signed;
using std::make_unsigned;
using std::underlying_type;

/// @todo clang on linux doesn't have is_trivially_copyable.
#ifndef OMIM_OS_LINUX
using std::is_trivially_copyable;
#endif

#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif