Solved

To Initialize a Unique_ptr, You Can Use C++14's ________ Function

Question 7

Multiple Choice

To initialize a unique_ptr, you can use C++14's ________ function template, which allocates dynamic memory with operator new, then returns a unique_ptr to that memory. Prior to C++14, you'd pass the result of a new expression directly to unique_ptr's constructor.


A) create_unique
B) make_unique
C) get_unique
D) form_unique

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions