ocean.core.DeepCompare

Value comparison for structs and arbitrary types.

Does a deep equality comparison of one type to another.

'Deep' meaning: * The _contents_ of dynamic arrays are compared * Types are recursed, allowing multi-dimensional arrays to be compared * All members of structs are compared (recursively, if needed).

Members

Functions

deepEquals
bool deepEquals(T a, T b)

Compares two values and returns true if they are equal.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).