Array manipulation functions.
This module contains a packed bit array implementation in the style of D's built-in dynamic arrays.
This module contains a collection of bit-level operations.
Utility for manipulation of reusable mutable array buffers.
Unit tests for ocean.core.Buffer
Structure holding a user-specified context in the form of a pointer, a class reference or a platform-dependant unsigned integer (a hash_t).
Value comparison for structs and arbitrary types.
Exception utilities to write enforcements/
Mixin for an enum class with the following basic features: * Contains an enum, called E, with members specified by an associative array passed to the mixin. * Implements an interface, IEnum, with common shared methods: * opIndex: look up an enum member's name by its value and vice-versa. * opIn_r: check whether a value (int) or name (char[]) is a member of the enum. * opApply: iteration over over the names & values of the enum's members. * length: returns the number of members in the enum. * min & max: return the minimum/maximum value of the enum's members. * A static opCall() method which returns a singleton instance of the class. This is the most convenient means of calling the methods listed above.
Ocean Exceptions
The exception module defines all system-level exceptions and provides a mechanism to alter system-level error handling.
Wraps a Fiber allowing to pass a message on suspending/resuming and to kill the fiber.
Wraps any type in a struct that also contains boolean field indicating if value is in defined state.
Smart enum template class, encapsulates an enum with a map of its codes and descriptions.
Template for a union that knows its active field and ensures the active field is read.
Struct Converter functions
Defines base exception class thrown by test checks and set of helper functions to define actual test cases. These helpers are supposed to be used in unittest blocks instead of asserts.
The tuple module defines a template struct used for arbitrary data grouping.
Functions to help with type conversion.
Flexible unittest runner
Utility intended as a replacement for assert to check for programming errors and sanity violations in situations when neither removing the check in -release mode nor bringing down the application by throwing an Error is acceptable.
Helper utility for reflection on LibFeatures modules provided by libraries. If a library provides a module named libname.LibFeatures which defines constants of form const has_features_x_y = true where x is major version number and y is minor version number, helper defined in this module allows to query supported features with a standard API.