From a3c88e98886a4dc149b0e55059f8bcdc5d345f18 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 21 Aug 2024 21:01:05 +0200 Subject: Added C++ headers definition --- db/c++.lua | 182 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 182 insertions(+) create mode 100644 db/c++.lua (limited to 'db') diff --git a/db/c++.lua b/db/c++.lua new file mode 100644 index 0000000..d101e75 --- /dev/null +++ b/db/c++.lua @@ -0,0 +1,182 @@ +scheme "headers/1" +aliases "C++03" {"ISO/IEC 14882:2003", "C++98"} +aliases "C++11" {"ISO/IEC 14882:2011", "C++0x", "C++1x"} +aliases "C++14" {"ISO/IEC 14882:2014", "C++1y"} +aliases "C++17" {"ISO/IEC 14882:2017", "C++1z"} +aliases "C++20" {"ISO/IEC 14882:2020", "C++2x"} +aliases "C++23" {"ISO/IEC 14882:2023"} +aliases "C++26" +headers "C++03" { + "bitset", + "csetjump", + "csignal", + "cstdarg", + "cstddef", + "cstdlib", + "ctime", + "functional", + "typeinfo", + "utility", + "memory", + "new", + "cfloat", + "climits", + "limits", + "cassert", + "cerrno", + "exception", + "stdexcept", + "cctype", + "cstring", + "cwchar", + "cwctype", + "string", + "deque", + "list", + "map", + "queue", + "set", + "stack", + "vector", + "iterator", + "algorithm", + "cmath", + "complex", + "numeric", + "valarray", + "clocale", + "locale", + "cstdio", + "fstream", + "iomanip", + "ios", + "iosfwd", + "iostream", + "istream", + "ostream", + "sstream", + "streambuf", + "strstream", + "ciso646", + "assert.h", + "ctype.h", + "errno.h", + "float.h", + "limits.h", + "locale.h", + "math.h", + "setjmp.h", + "signal.h", + "stdarg.h", + "stddef.h", + "stdio.h", + "stdlib.h", + "string.h", + "time.h", + "wchar.h", + "wctype.h", + "iso646.h", +} +headers "C++11" { + include "C++03", + "chrono", + "initializer_list", + "tuple", + "type_traits", + "typeindex", + "scoped_allocator", + "cinttypes", + "cstdint", + "system_error", + "cuchar", + "array", + "forward_list", + "unordered_map", + "unordered_set", + "cfenv", + "random", + "ratio", + "codecvt", + "regex", + "atomic", + "condition_variable", + "future", + "mutex", + "thread", + "ccomplex", + "ctgmath", + "cstdalign", + "cstdbool", + "tgmath.h", + "complex.h", + "fenv.h", + "inttypes.h", + "stdint.h", + "uchar.h", + "complex.h", + "tgmath.h", + "stdalign.h", + "stdbool.h", +} +headers "C++14" { + include "C++11", + "shared_mutex", +} +headers "C++17" { + include "C++14", + "any", + "optional", + "variant", + "memory_resource", + "charconv", + "string_view", + "execution", + "filesystem", +} +headers "C++20" { + include "C++17", + "concepts", + "coroutine", + "compare", + "source_location", + "version", + "format", + "span", + "ranges", + "bit", + "numbers", + "syncstream", + "barrier", + "latch", + "semaphore", + "stop_token", + remove "ciso646", + remove "ccomplex", + remove "ctgmath", + remove "cstdalign", + remove "cstdbool", +} +headers "C++23" { + include "C++20", + "expected", + "stdfloat", + "stacktrace", + "flat_map", + "flat_set", + "mdspan", + "generator", + "print", + "spanstream", + "stdatomic.h", +} +headers "C++26" { + include "C++23", + "debugging", + "inplace_vector", + "linalg", + remove "codecvt", + "text_encoding", + remove "strstream", + "hazard_pointer", + "rcu", +} -- cgit v1.1