e-fólio A 2020-21 UC:21111 - Sistemas Operativos
Aluno: 2000027 - Hélio Sousa
cpp_standard_headers_indexer.cpp
Ir para a documentação deste ficheiro.
1 /*
2  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3  *
4  * Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved.
5  *
6  * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
7  * Other names may be trademarks of their respective owners.
8  *
9  * The contents of this file are subject to the terms of either the GNU
10  * General Public License Version 2 only ("GPL") or the Common
11  * Development and Distribution License("CDDL") (collectively, the
12  * "License"). You may not use this file except in compliance with the
13  * License. You can obtain a copy of the License at
14  * http://www.netbeans.org/cddl-gplv2.html
15  * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
16  * specific language governing permissions and limitations under the
17  * License. When distributing the software, include this License Header
18  * Notice in each file and include the License file at
19  * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
20  * particular file as subject to the "Classpath" exception as provided
21  * by Oracle in the GPL Version 2 section of the License file that
22  * accompanied this code. If applicable, add the following below the
23  * License Header, with the fields enclosed by brackets [] replaced by
24  * your own identifying information:
25  * "Portions Copyrighted [year] [name of copyright owner]"
26  *
27  * If you wish your version of this file to be governed by only the CDDL
28  * or only the GPL Version 2, indicate your decision by adding
29  * "[Contributor] elects to include this software in this distribution
30  * under the [CDDL or GPL Version 2] license." If you do not indicate a
31  * single choice of license, a recipient has the option to distribute
32  * your version of this file under either the CDDL, the GPL Version 2 or
33  * to extend the choice of license to its licensees as provided above.
34  * However, if you add GPL Version 2 code and therefore, elected the GPL
35  * Version 2 license, then the option applies only if the new code is
36  * made subject to such option by the copyright holder.
37  *
38  * Contributor(s):
39  */
40 
41 // List of standard headers was taken in http://en.cppreference.com/w/cpp/header
42 
43 #include <cstdlib> // General purpose utilities: program control, dynamic memory allocation, random numbers, sort and search
44 #include <csignal> // Functions and macro constants for signal management
45 #include <csetjmp> // Macro (and function) that saves (and jumps) to an execution context
46 #include <cstdarg> // Handling of variable length argument lists
47 #include <typeinfo> // Runtime type information utilities
48 #include <bitset> // std::bitset class template
49 #include <functional> // Function objects, designed for use with the standard algorithms
50 #include <utility> // Various utility components
51 #include <ctime> // C-style time/date utilites
52 #include <cstddef> // typedefs for types such as size_t, NULL and others
53 #include <new> // Low-level memory management utilities
54 #include <memory> // Higher level memory management utilities
55 #include <climits> // limits of integral types
56 #include <cfloat> // limits of float types
57 #include <limits> // standardized way to query properties of arithmetic types
58 #include <exception> // Exception handling utilities
59 #include <stdexcept> // Standard exception objects
60 #include <cassert> // Conditionally compiled macro that compares its argument to zero
61 #include <cerrno> // Macro containing the last error number
62 #include <cctype> // functions to determine the type contained in character data
63 #include <cwctype> // functions for determining the type of wide character data
64 #include <cstring> // various narrow character string handling functions
65 #include <cwchar> // various wide and multibyte string handling functions
66 #include <string> // std::basic_string class template
67 #include <vector> // std::vector container
68 #include <deque> // std::deque container
69 #include <list> // std::list container
70 #include <set> // std::set and std::multiset associative containers
71 #include <map> // std::map and std::multimap associative containers
72 #include <stack> // std::stack container adaptor
73 #include <queue> // std::queue and std::priority_queue container adaptors
74 #include <algorithm> // Algorithms that operate on containers
75 #include <iterator> // Container iterators
76 #include <cmath> // Common mathematics functions
77 #include <complex> // Complex number type
78 #include <valarray> // Class for representing and manipulating arrays of values
79 #include <numeric> // Numeric operations on values in containers
80 #include <iosfwd> // forward declarations of all classes in the input/output library
81 #include <ios> // std::ios_base class, std::basic_ios class template and several typedefs
82 #include <istream> // std::basic_istream class template and several typedefs
83 #include <ostream> // std::basic_ostream, std::basic_iostream class templates and several typedefs
84 #include <iostream> // several standard stream objects
85 #include <fstream> // std::basic_fstream, std::basic_ifstream, std::basic_ofstream class templates and several typedefs
86 #include <sstream> // std::basic_stringstream, std::basic_istringstream, std::basic_ostringstream class templates and several typedefs
87 #include <strstream> // std::strstream, std::istrstream, std::ostrstream(deprecated)
88 #include <iomanip> // Helper functions to control the format or input and output
89 #include <streambuf> // std::basic_streambuf class template
90 #include <cstdio> // C-style input-output functions
91 #include <locale> // Localization utilities
92 #include <clocale> // C localization utilities
93 #include <ciso646> // empty header. The macros that appear in iso646.h in C are keywords in C++
94 #if __cplusplus >= 201103L
95 #include <typeindex> // (since C++11) std::type_index
96 #include <type_traits> // (since C++11) Compile-time type information
97 #include <chrono> // (since C++11) C++ time utilites
98 #include <initializer_list> // (since C++11) std::initializer_list class template
99 #include <tuple> // (since C++11) std::tuple class template
100 #include <scoped_allocator> // (since C++11) Nested allocator class
101 #include <cstdint> // (since C++11) fixed-size types and limits of other types
102 #include <cinttypes> // (since C++11) formatting macros , intmax_t and uintmax_t math and conversions
103 #include <system_error> // (since C++11) defines std::error_code, a platform-dependent error code
104 #include <cuchar> // (since C++11) C-style Unicode character conversion functions
105 #include <array> // (since C++11) std::array container
106 #include <forward_list> // (since C++11) std::forward_list container
107 #include <unordered_set> // (since C++11) std::unordered_set and std::unordered_multiset unordered associative containers
108 #include <unordered_map> // (since C++11) std::unordered_map and std::unordered_multimap unordered associative containers
109 #include <random> // (since C++11) Random number generators and distributions
110 #include <ratio> // (since C++11) Compile-time rational arithmetic
111 #include <cfenv> // (since C++11) Floating-point environment access functions
112 #include <codecvt> // (since C++11) Unicode conversion facilities
113 #include <regex> // (since C++11) Classes, algorithms and iterators to support regular expression processing
114 #include <atomic> // (since C++11) Atomic operations library
115 #include <ccomplex> // (since C++11)(deprecated in C++17) simply includes the header <complex>
116 #include <ctgmath> // (since C++11)(deprecated in C++17) simply includes the headers <ccomplex> (until C++17)<complex> (since C++17) and <cmath>: the overloads equivalent to the contents of the C header tgmath.h are already provided by those headers
117 #include <cstdalign> // (since C++11)(deprecated in C++17) defines one compatibility macro constant
118 #include <cstdbool> // (since C++11)(deprecated in C++17) defines one compatibility macro constant
119 #include <thread> // (since C++11) std::thread class and supporting functions
120 #include <mutex> // (since C++11) mutual exclusion primitives
121 #include <future> // (since C++11) primitives for asynchronous computations
122 #include <condition_variable> // (since C++11) thread waiting conditions
123 #endif
124 #if __cplusplus >= 201300L
125 #include <shared_mutex> // (since C++14) shared mutual exclusion primitives
126 #endif
127 #if __cplusplus >= 201500L
128 #include <any> // (since C++17) std::any class template
129 #include <optional> // (since C++17) std::optional class template
130 #include <variant> // (since C++17) std::variant class template
131 #include <memory_resource> // (since C++17) Polymorphic allocators and memory resources
132 #include <string_view> // (since C++17) std::basic_string_view class template
133 #include <execution> // (since C++17) Predefined execution policies for parallel versions of the algorithms
134 #include <filesystem> // (since C++17) std::path class and supporting functions
135 #endif