Allocator Constructor and Destructor

Description

Constructs or destructs an object of class Allocator.

Prototype

Allocator() = default

virtual ~Allocator() = default

Allocator(const Allocator &) = delete

Allocator &operator=(const Allocator &) = delete

Parameters

None

Returns

None

Exception Handling

None

Restrictions

Pure virtual classes need to be derived by users.