libstdc++: cinttypes Source File (original) (raw)
Go to the documentation of this file.
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#ifndef _GLIBCXX_TR1_CINTTYPES
30#define _GLIBCXX_TR1_CINTTYPES 1
31
32#pragma GCC system_header
33
35
37
38
39#if _GLIBCXX_HAVE_INTTYPES_H
40# ifndef __STDC_FORMAT_MACROS
41# define _UNDEF__STDC_FORMAT_MACROS
42# define __STDC_FORMAT_MACROS
43# endif
44# include <inttypes.h>
45# ifdef _UNDEF__STDC_FORMAT_MACROS
46# undef __STDC_FORMAT_MACROS
47# undef _UNDEF__STDC_FORMAT_MACROS
48# endif
49#endif
50
51#ifdef _GLIBCXX_USE_C99_INTTYPES_TR1
52
53namespace std _GLIBCXX_VISIBILITY(default)
54{
55_GLIBCXX_BEGIN_NAMESPACE_VERSION
56
57namespace tr1
58{
59
60 using ::imaxdiv_t;
61
62
63 using ::imaxabs;
64
65
66
67
68
69
70 using ::imaxdiv;
71
72
73
74
75
76 using ::strtoimax;
77 using ::strtoumax;
78
79#if defined(_GLIBCXX_USE_WCHAR_T) && _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1
80 using ::wcstoimax;
81 using ::wcstoumax;
82#endif
83}
84
85_GLIBCXX_END_NAMESPACE_VERSION
86}
87
88#endif
89
90#endif
ISO C++ entities toplevel namespace is std.