-
Which is present in the basic interface of the allocator interface?
-
- A pair of allocation functions
- allocate()
- Set of typedefs
- All of above
- None of these
Correct Option: D
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().