An open API service indexing awesome lists of open source software.

https://github.com/excessphase/unique


https://github.com/excessphase/unique

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# template-mixins by example of a unique, immutable set of classes

**Author**: Peter Foelsche |
**Date**: October 2024..January 2025 |
**Location**: Austin, TX, USA |
**Email**: [peter_foelsche@outlook.com](mailto:peter_foelsche@outlook.com)

## News
Fixed a bug in unique.h which I fixed already many times in other versions. When attempting to erase a pointer from the object registry, one has to make certain, that not another pointer of an identical object is going to be erased.
## Introduction

This code shows how to avoid creating multiple copies of identical objects of immutable classes in a hierarchy.