Which is present in the basic interface of the allocator interface?
A.
Set of typedefs
B.
A pair of allocation functions
C.
allocate()
D.
All of the mentioned
Answer:
Option
D
Explaination:
The basic interface of an allocator class consists of a set of typedefs, a pair of allocation functions, allocate() and deallocate() and a pair of construction/destruction members, construct() and destroy().