ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
system.mpp
Go to the documentation of this file.
1//==================================================================================================
2/// \file
3/// This header-file is part of the \aliblong.
4/// With supporting legacy or module builds, .mpp-files are either recognized by the build-system
5/// as C++20 Module interface files, or are included by the
6/// \ref alib_manual_modules_impludes "import/include headers".
7///
8/// \emoji :copyright: 2013-2025 A-Worx GmbH, Germany.
9/// Published under \ref mainpage_license "Boost Software License".
10//==================================================================================================
11#if !defined(ALIB_C20_MODULES) || ((ALIB_C20_MODULES != 0) && (ALIB_C20_MODULES != 1))
12# error "Symbol ALIB_C20_MODULES has to be given to the compiler as either 0 or 1"
13#endif
14#if ALIB_C20_MODULES
15 module;
16#endif
17// ====================================== Global Fragment ======================================
22
23#include <filesystem>
24#if defined( __GNUC__ ) || ( defined(_WIN32) && defined(_MSC_VER))
25# include <errno.h>
26#endif
27
28// =========================================== Module ==========================================
29#if ALIB_C20_MODULES
30 /// This is a C++ Module of the \aliblong. Due to the dual-compile option - as either
31 /// C++20 Modules or legacy C++ inclusion, the C++20 Module names are not of further interest
32 /// or use.<br>
33 /// In general, the names equal the names of the header files listed in the chapter
34 /// \ref alib_manual_modules_impludes of the \alib User Manual.
35 /// This chapter, among others, provides further explanations.
36 export module ALib.System;
37 import ALib.Lang;
38 import ALib.EnumOps;
39# if ALIB_MONOMEM
40 import ALib.Monomem;
41# endif
42# if ALIB_BOXING
43 import ALib.Boxing;
44# endif
45# if ALIB_STRINGS
46 import ALib.Strings;
47# endif
48 import ALib.EnumRecords;
49# if ALIB_CAMP
50 import ALib.Exceptions; // only if CAMP is available
51# endif
52#else
53# include "ALib.Lang.H"
54# include "ALib.Boxing.H"
55# include "ALib.Strings.H"
56# include "ALib.Monomem.H"
57# include "ALib.EnumRecords.H"
58# include "ALib.Exceptions.H"
59#endif
60
61// ========================================== Exports ==========================================
65#include "alib/system/path.inl"
67
68