https://github.com/excessphase/unique
https://github.com/excessphase/unique
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/excessphase/unique
- Owner: ExcessPhase
- License: mit
- Created: 2024-11-10T15:24:47.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-05T14:22:34.000Z (over 1 year ago)
- Last Synced: 2025-03-05T15:26:41.942Z (over 1 year ago)
- Language: C++
- Size: 118 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.