ae.utils.meta.rcclass

Basic reference-counting for classes.

Members

Structs

RCClass
struct RCClass(C)

Wraps class type C into a reference-counting value type.

Templates

rcClass
template rcClass(C)

Constructs a new reference-counted instance of C. (An external factory function is used instead of static opCall to avoid conflicting with the class's non-static opCall.)

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>