dot-xx
A personal collection of small C++ modules
Loading...
Searching...
No Matches
dxx.cstd Module Reference

Export some C standard library constants that are not provided by std.compat More...

Exported Modules

module  std

Enumerations

enum class  dxx::c::exit : decltype(EXIT_SUCCESS) { success = EXIT_SUCCESS , failure = EXIT_FAILURE }
 Re-exports EXIT_SUCCESS and EXIT_FAILURE

Variables

auto & dxx::c::stdin = stdio::in
auto & dxx::c::stdout = stdio::out
auto & dxx::c::stderr = stdio::err
constexpr auto dxx::c::EXIT_SUCCESS = std::to_underlying(exit::success)
constexpr auto dxx::c::EXIT_FAILURE = std::to_underlying(exit::failure)
auto & dxx::c::stdio::in = stdin
auto & dxx::c::stdio::out = stdout
auto & dxx::c::stdio::err = stderr

Detailed Description

Export some C standard library constants that are not provided by std.compat

Files

file  /build-llvm-libcpp/_deps/dot-xx-cstd-src/src/cstd.xx
 Main interface file for dxx.cstd module.
file  /build-llvm-libcpp/_deps/dot-xx-cstd-src/src/internal.xx
 Re-export macros as enums.