MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 12345]
 NmtcoreCore library for C++ with Zig-related functionality
 NasciiASCII-related methods for parsing and character classification Split into its own namespace to allow for clear differentiation from any unicode-related methods
 NcsvCSV namespace for CSV-related utilities
 Nio
 NslicesAdditional algorithms that can be performed on slices, such as comparisons, searching, etc
 NthreadThread-related namespace The methods and classes provided by this class are thread-safe Classes and methods provided outside of this class are not thread-safe (with the exception of malloc_alloc) This requires linking mtcore_thread to your application
 CAllocatorRepresents a memory allocator Exact behavior depends on the underlying VTable used Should use the a_* methods for working with an allocator
 CArrayListArray list is a growable, dynamic array with elements inside Elements are stored in an array, and are copied when resizing needs to happen Accessing elements is \(O(1)\) Adding elements is worst case \(O(N)\) Removing elements while preserving order is \(O(N)\) Removing elements while not preserving order is \(O(1)\)
 CBitsetRepresents a bitset with dynamically allocated memory (using an mtcore allocator) Allows operating on an arbitrary number of bits
 CBitset2DRepresents a bitset with dynamically allocated memory (using an mtcore allocator) Allows operating on an arbitrary number of bits
 CBitsetFixedRepresents a bitset with dynamically allocated memory (using an mtcore allocator) Allows operating on an arbitrary number of bits
 CConstPtrIterIterator that gives const pointers to elements of a collection
 CEndianSliceA Slice with Endian-aware data which is just a pointer + length + endian direction Accessing elements through the array operator will do bounds checks and will convert to native endian by default (this can be overridden with access methods) Accessing out of bounds will terminate the program instead of throw Can also get sub slices
 CErrorA struct representing an error Auto convertible to a Result of any type
 CFixedQueueStatically allocated FIFO queue with fixed maximum capacity
 CFixedRingBufferRepresents a ring buffer with static memory allocation Can be used as a FIFO or LIFO queue Allows memory reuse by wrapping pointers Cannot be dynamically resized
 CGenListRepresents a generational list where removed items are marked and recycled
 CHandleHandle to an item in the list
 CIPv4Represents an IP version 4 address (32 bits) Can be converted to an IPv6
 CIPv6Represents an IP version 6 address (128 bits) If it represents an IPv4 address, can be converted to an IPv4 address
 CMallocAllocatorState variable for malloc-based allocator
 CNulloptPlaceholder value for any empty Optional (similar to std::nullopt)
 COptionalRepresents a value that may or may not exist (an "Optional" value) Similar concept to std::optional, but different implementation and additional nicety methods which makes this a better alternative for simple loop-based iteration (via copy_if_present and move_if_present)
 COptional< T * >Represents a pointer that may or may not be null
 CoverloadVisit overload pattern for std::variant
 CPrngRepresents a Pseudo Random Number Generator
 CPrngStateInternal PRNG state
 CPrngVTableV-Table for PRNG Designed for having a simple PRNG implementation
 CPtrIterIterator that gives pointers to elements of a collection
 CQueueFIFO Queue (First In, First Out) Dynamically allocated, can be resized
 CRcThread-local reference counted pointer Not thread safe, don't share Reference counting for cleaning up memory Supports weak references as well
 CResultRepresents a Result that may have an error (error code) or a success value A type of "void" means there is no Result value, but there may be a failure
 CResult< void, ErrType >Represents a Result that may have an error (error code) or a success (without a value)
 CRingBufferRepresents a ring buffer with dynamically allocated memory Can be used as a FIFO or LIFO queue Allows memory reuse rather than continuous memory allocations as it is used May be dynamically resized
 CRuneIteratorIterates over runes of utf8 sequences (char, char_t)
 CRuneIterator< char16_t >Iterates over runes of utf16 sequences Also handles flipping endianness to native endian
 CRuneIterator< char32_t >Iterates over runes of utf32 sequences Also handles flipping endianness to native endian
 CSegmentedListSegmented list where each segment contains multiple nodes Allows growing the list without having to invalidate all previous memory addresses
 CSliceA Slice which is just a pointer + length Accessing elements through the array operator will do bounds checks Accessing out of bounds will terminate the program instead of throw Can also get sub slices
 CSubnetMaskV4Represents the bitwise mask for a version 4 subnet
 CSubnetMaskV6Gets a subnet mask for an IP version 6 subnet
 CSubnetV4A masked IP version 4 address
 CSubnetV6A masked IP version 6 address
 CSuccessRepresents a success result (auto castable to Result)
 CSuccess< void >Represents a success value
 CThreadLocalDebugAllocatorState variable for thread local debug allocator Must live longer (and at the same memory address) than all allocators returned by allocator()
 CThreadLocalDynamicArenaAllocatorState variable for thread local dynamic arena allocator Must live longer (and at the same memory address) than all allocators returned by allocator()
 CThreadLocalFixedArenaAllocatorState variable for thread local fixed arena allocator Must live longer (and at the same memory address) than all allocators returned by allocator()
 CThreadLocalFixedBufferAllocatorState variable for thread local fixed buffer allocator Must live longer (and at the same memory address) than all allocators returned by allocator()
 CValIterIterator that gives copies of elements of a collection
 CWeakRcThread-local weak reference counted pointer Not thread safe, don't share Does not hold lifetime
 NmttestMT Unit testing framework
 CCmpResResult of comparing left and right (retains value references for debug printing)
 CIsStreamableChecks if a class can be streamd to ostream
 CTestCaseTest case metadata
 CTestContextContext for unit tests
 CTestSuitesTest suite metadata and runner