DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
IDisposable.h
Go to the documentation of this file.
1#pragma once
2
3#include "Common.h"
4
5namespace DotNetDupe {
6 namespace System {
7 namespace IO {
14 public:
16 virtual ~IDisposable() = default;
17
19 virtual void Dispose() = 0;
20 };
21 }
22 }
23}
Defines common cross-platform macros, export decorators, and fundamental types.
Provides a mechanism for releasing unmanaged resources.
Definition IDisposable.h:13
virtual void Dispose()=0
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resourc...
virtual ~IDisposable()=default
Virtual destructor ensuring proper polymorphic cleanup.