July 2015
Intermediate to advanced
558 pages
13h 31m
English
For multiple choice questions, choose all the options that apply:
a. Require less memory
b. Insertion is faster
c. Traversal is slower
d. Lookups are faster
std::forward_list does not provide a size() member function because:a. Linear time size members cannot be supported for singly-linked lists
b. Both splice and size members cannot be constant time
c. It would be thread-unsafe
d. All of the above
static_vector allocated:a. Stack
b. Depends on where the static vector is created
c. Free store
d. Depends on the allocator used
Read now
Unlock full access