Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
LIBC_IN_STD.cpp
Go to the documentation of this file.
1// checking for C library in namespace std
2
3
25#include "config.h"
26
27#ifndef _RWSTD_NO_NEW_HEADER
28
29#include <cctype>
30#include <clocale>
31#include <cmath>
32#include <csetjmp>
33#include <csignal>
34#include <cstdarg>
35#include <cstddef>
36#include <cstdio>
37#include <cstdlib>
38#include <cstring>
39#include <ctime>
40
41#else // _RWSTD_NO_NEW_HEADER
42
43#include <ctype.h>
44#include <locale.h>
45#include <math.h>
46#include <setjmp.h>
47#include <signal.h>
48#include <stdarg.h>
49#include <stddef.h>
50#include <stdio.h>
51#include <stdlib.h>
52#include <string.h>
53#include <time.h>
54
55#endif // _RWSTD_NO_NEW_HEADER
56
57
58int main ()
59{
60 (void)&std::isalpha; // <ctype>
61 (void)&std::setlocale; // <clocale>
62 std::pow (0.0, 0.0); // <cmath>
63 (void)&std::fopen; // <cstdio>
64 (void)&std::malloc; // <cstdlib>
65 (void)&std::strcpy; // <cstring>
66 (void)&std::clock; // <ctime>
67 return std::size_t (0); // <cstddef>, <cstring>, ...
68}
int main()