|
Libmagicxx v10.0.3
A modern C++23 wrapper for libmagic — the library that powers the Unix file command.
|
Move, copy, and destruction operations. More...

Functions | |
| Recognition::Magic::MagicPrivate::MagicPrivate (MagicPrivate &&) noexcept=default | |
| Move constructor. | |
| Recognition::Magic::MagicPrivate::MagicPrivate (const MagicPrivate &)=delete | |
| Deleted copy constructor. | |
| MagicPrivate & | Recognition::Magic::MagicPrivate::operator= (MagicPrivate &&) noexcept=default |
| Move assignment operator. | |
| MagicPrivate & | Recognition::Magic::MagicPrivate::operator= (const MagicPrivate &)=delete |
| Deleted copy assignment operator. | |
| Recognition::Magic::MagicPrivate::~MagicPrivate ()=default | |
| Destructor. | |
Move, copy, and destruction operations.
Special member functions controlling MagicPrivate lifetime and resource ownership transfer.
|
delete |
Deleted copy constructor.
MagicPrivate cannot be copied because each instance owns a unique libmagic cookie handle. Use move semantics instead.
|
defaultnoexcept |
Move constructor.
Transfers ownership of all resources from the source instance. After the move, the source is left in the Closed state (m_cookie = nullptr).
|
delete |
Deleted copy assignment operator.
MagicPrivate cannot be copied because each instance owns a unique libmagic cookie handle. Use move semantics instead.
|
defaultnoexcept |
Move assignment operator.
Releases any existing resources, then transfers ownership from the source instance. After the move, the source is left in the Closed state.
|
default |
Destructor.
Automatically releases the libmagic cookie via CookieT's custom deleter (calls magic_close()).