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: c292cd1df8589aeeef792893515d3b5cc7e86a33 (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
31
32
33
34
35
36
37
38
39
#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_base_of;
using std::is_floating_point;
using std::is_integral;
using std::is_pod;
using std::is_same;
using std::is_signed;
using std::is_standard_layout;
using std::is_unsigned;
using std::is_void;
using std::make_signed;
using std::make_unsigned;
using std::remove_reference;
using std::underlying_type;

using std::result_of;

using std::false_type;
using std::true_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