Allocator Constructor and Destructor

Description

Constructs or destructs an object of class Allocator.

Prototype

1
2
3
4
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.