|
dot-xx
A personal collection of small C++ modules
|
| Cdxx::utils::As< Range > | |
| Cdxx::math::container_traits::size::Bound | Size is a runtime value during construction and can be changed, but limited by a compile-time constant |
| Cdxx::utils::Defer< TDeferred > | Class for deferring operations until the end of lifetime |
| Cdxx::math::container_traits::size::Dynamic | Size is a runtime value during construction and can be changed |
| Cdxx::errors::Errno | Tag type, helps indicate that errno info should be added to the error message |
| Cdxx::utils::FileDescriptor | RAII file descriptor. Wraps an integer file descriptor and defers closing it to the desctructor |
| Cdxx::overload::fn_ptr_wrapper< Callable, Class, Ret, Args > | Class == int means free function (can't have a method on int) |
| CFOf< width > | |
| CFOf< 32 > | |
| CFOf< 64 > | |
| Cdxx::http::HeaderCompare | HTTP headers comparison struct - they must be case-insensitive |
| CIOf< width > | |
| CIOf< 16 > | |
| CIOf< 32 > | |
| CIOf< 64 > | |
| CIOf< 8 > | |
| Cdxx::selftest::LifetimeTester | A simple class for tracking object moves/copies during their lives in containers |
| Cstd::logic_error | |
| Cdxx::assert::failure | A default error type that is thrown when the assertion fails |
| Cdxx::selftest::test_failure | The exception type used by test assertions |
| Cdxx::math::Norm< Func, SqFunc > | Defines a norm. Only norm field is required, all other fields can be assigned a nullptr |
| Cdxx::utils::heap::Option< T > | An std::optional replacement with heap-allocated storage |
| Cdxx::http::PathNode< TData > | |
| Cdxx::http::PendingConnection< TResponse > | An awaitable object that allows the handler code to respond to the request at a later point in time |
| Cdxx::http::SimpleTask::promise_type | |
| Cdxx::math::detail::RealOf< T > | |
| Cdxx::math::detail::RealOf< T > | |
| Cdxx::http::Request | HTTP request structure. Also used for multipart request data |
| Cdxx::http::Response | Server's response to the client |
| Cstd::runtime_error | |
| Cdxx::errors::Error | Exception class that supports construction from std::format-like args and automatic errno capture in the message |
| Cdxx::http::ServerError | |
| Cdxx::http::RequestError | |
| Cdxx::http::StreamError | |
| Cdxx::math::container_traits::size::RuntimeFixed | Size can't be changed but unknown at compile time |
| Cdxx::http::Server | A simple HTTP server |
| Cdxx::http::SimpleTask | A single connection handler coroutine task |
| Cdxx::math::container_traits::size::Static | Size is a compile-time constant and cannot be modified |
| Cdxx::math::Sub | Default difference is subtraction |
| Cdxx::math::container_traits::Traits< V > | Additional traits that tell the library how to handle the vector container type (when std::ranges facilities aren't enought) |
| CTs... | |
| Cdxx::overload::Overload< Ts > | Overload pattern implementation. Itself does not differ from https://www.cppstories.com/2019/02/2lines3featuresoverload.html/, extra functionality comes from CTAD. See module description for usage |
| Cdxx::selftest::UnitTest< TFunc > | Create an object of that class to declare a unit test |
| CUOf< width > | |
| CUOf< 16 > | |
| CUOf< 32 > | |
| CUOf< 64 > | |
| CUOf< 8 > | |
| Cdxx::overload::wrap_callable< T > | |
| Cdxx::overload::wrap_callable< Ret(*)(Args...)> | |
| Cdxx::overload::wrap_callable< Ret(Class::*)(Args...) && > | |
| Cdxx::overload::wrap_callable< Ret(Class::*)(Args...) const > | |
| Cdxx::overload::wrap_callable< Ret(Class::*)(Args...)> |