development version (master branch)
Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
UppHub
Status & Roadmap
FAQ
Authors & License
Forums
Funding U++
Search on this site











SourceForge.net Logo

SourceForge.net Logo

GitHub Logo

Discord Logo

NoCopy

class NoCopy

Utility base class to disable copy semantics.

 

Inheriting from this class prevents derived classes from being copied or copy-assigned. The copy constructor and copy assignment operator are declared as deleted.

 

This is useful for classes that manage unique resources such as file handles, mutexes, threads or memory ownership.

 

Do you want to contribute?