The Standard library is intended to be the list of usefull types and funcions that most GameDevs May need.
All of the Standardlibrary is Under The ULang Namespace.
use ULang;
All of the Standardlibrary Part of StandardLibarary Module By UCodeLang.
import UCodeLang::StandardLibarary[0:0:0];
Name | Type | Description |
Array<T,(uintptr:Size)> | Generic Class | A Fixed-size sequence container. |
Vector<T> | Generic Class | Used to store a List of Items. |
String_t<T> | Generic Class. | Used as a base to store a sequence of contiguous sequence of any char type. |
Name | Type | Description |
StringSpan | Alias | Same As StringSpan_t<char>. Used refer to a contiguous sequence characters (text). |
String8Span | Alias | Same As StringSpan_t<uft8>. Used refer to a contiguous sequence of utf8 characters (text). |
String16Span | Alias | Same As StringSpan_t<uft16>. Used refer to a contiguous sequence of utf16 characters (text). |
String32Span | Alias | Same As StringSpan_t<uft32>. Used refer to a contiguous sequence of utf32 characters (text). |
Name | Type | Description |
StringSpan_t<T> | Generic Class | used as a base to reference a contiguous sequence of any char type. |
Span<T> | Generic Class | used store to reference a contiguous sequence of type T. |
Name | Type | Description |
Math | Class | Contains Mathematical Functions. |
Vec2 | Alias | Same As Vec2_t<float>. A vector with X and Y. |
Vec3 | Alias | Same As Vec3_t<float>. A vector with X and Y. |
Vec2i | Alias | Same As Vec2i_t<int>. A vector with X , Y and Z for float types. |
Vec3i | Alias | Same As Vec2i_t<int>. A Vector with X , Y and Z for int types. |
Vec2_t<T> | Generic Class | A Vector Base with X , Y for int types. |
Vec3_t<T> | Generic Class | A Vector Base with X , Y , Z for float types. |
Vec2i_t<T> | Generic Class | A Vector Base with X , Y. for int types. |
Vec3i_t<T> | Generic Class | A Vector Base with X , Y and Z for int types. |
Name | Type | Description |
Optional<T> | Generic Enum | Contains a value or Null |
Result<T,E> | Generic Enum | Contains a Success or Error. |
Name | Type | Description |
Unique_ptr<T> | Generic Class | A Type that Owns and manages another object on the heap. |
Shared_ptr<T> | Generic Class | A Type that Shares ownership another object on the heap. |
LowLevel | Class | A Type That has LowLevel funcions like memcpy,memcpy,malloc. |
Ptr<T> | Generic Class | A Type that allows give C pointer semantics. |
VoidPtr | Alias | A pointer that has no type with it. |
Ptr<void> | Class Specialization | A pointer that has no type with it. |
Under the hood the Standardlibrary uses NStandardlibrary API module to do operating system calls.