Sail E0 Webinar
Question

Which is present in the basic interface of the allocator interface?


Options:
A .  Set of typedefs
B .  A pair of allocation functions
C .  allocate()
D .  All of the mentioned
Answer: 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().



Was this answer helpful ?

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers