[CONSRV]
[reactos.git] / include / c++ / cstring
1 // Standard C string declarations for C++
2
3 //
4 // ISO C++ 14882: 20.4.6 C library
5 //
6
7 #pragma once
8
9 #include <cstddef>
10 #include <string.h>
11
12 // Get rid of those macros defined in <string.h> in lieu of real functions.
13 #undef memchr
14 #undef memcmp
15 #undef memcpy
16 #undef memmove
17 #undef memset
18 #undef strcat
19 #undef strchr
20 #undef strcmp
21 #undef strcoll
22 #undef strcpy
23 #undef strcspn
24 #undef strerror
25 #undef strlen
26 #undef strncat
27 #undef strncmp
28 #undef strncpy
29 #undef strpbrk
30 #undef strrchr
31 #undef strspn
32 #undef strstr
33 #undef strtok
34 #undef strxfrm
35
36 namespace std
37 {
38 using ::memchr;
39 using ::memcmp;
40 using ::memcpy;
41 using ::memmove;
42 using ::memset;
43 using ::strcat;
44 using ::strcmp;
45 using ::strcoll;
46 using ::strcpy;
47 using ::strcspn;
48 using ::strerror;
49 using ::strlen;
50 using ::strncat;
51 using ::strncmp;
52 using ::strncpy;
53 using ::strspn;
54 using ::strtok;
55 using ::strxfrm;
56 using ::strchr;
57 using ::strpbrk;
58 using ::strrchr;
59 using ::strstr;
60 }