libcopp
2.3.1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
_
a
c
d
f
g
h
i
m
o
p
r
s
t
w
y
Variables
_
a
b
c
d
e
f
g
h
l
m
o
p
r
s
t
u
w
x
Typedefs
Enumerations
Enumerator
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Typedefs
_
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
e
l
s
u
Related Symbols
_
d
e
i
l
o
r
s
w
Files
File List
Globals
All
_
b
c
e
g
j
l
m
o
p
r
s
t
u
w
Functions
b
c
g
j
m
o
p
r
s
t
Variables
b
c
g
m
s
t
Typedefs
Enumerations
Enumerator
c
e
Macros
_
c
l
m
s
t
u
w
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
test
std
tuple.h
Go to the documentation of this file.
1
14
#ifndef STD_TUPLE_H
15
#define STD_TUPLE_H
16
17
#pragma once
18
19
// ============================================================
20
// 公共包含部分
21
// 自动导入TR1库
22
// ============================================================
23
36
#include "
utility.h
"
37
38
// VC9.0 SP1以上分支判断
39
#if defined(_MSC_VER) && ((_MSC_VER == 1500 && defined(_HAS_TR1)) || _MSC_VER > 1500)
40
// 采用VC std::tr1库
41
# include <tuple>
42
#elif defined(__clang__) && __clang_major__ >= 3
43
// 采用Clang c++11库
44
# include <tuple>
45
#elif defined(__GNUC__) && __GNUC__ >= 4
46
// 采用G++ std::tr1库
47
# if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__)
48
# include <tuple>
49
# else
50
# include <tr1/tuple>
51
namespace
std
{
52
using
tr1::get;
53
using
tr1::ignore;
54
using
tr1::make_tuple;
55
using
tr1::tie;
56
using
tr1::tuple;
57
using
tr1::tuple_element;
58
using
tr1::tuple_size;
59
}
// namespace std
60
# endif
61
#else
62
// 采用boost库
63
# include <boost/tr1/tuple.hpp>
64
namespace
std
{
65
using
tr1::get;
66
using
tr1::ignore;
67
using
tr1::make_tuple;
68
using
tr1::tie;
69
using
tr1::tuple;
70
using
tr1::tuple_element;
71
using
tr1::tuple_size;
72
}
// namespace std
73
#endif
74
75
#endif
std
STL namespace.
utility.h
导入公共高级库 Licensed under the MIT licenses.
Generated by
1.9.8