Learn C++ Online

Applying unique pointers to our data structures

On this page
This lesson contains approximately 30 minutes of video content.

Examples

Questions

Q1

QApplying unique pointers to our data structures, Q1

This question is ungraded.

According to the lesson, when implementing a doubly linked list using smart pointers, the doubly linked list's head pointer should be implemented using which smart pointer type?

Q2

QApplying unique pointers to our data structures, Q2

This question is ungraded.

According to the lesson, when implementing a doubly linked list using smart pointers, each node object in the sequence should have its next and previous node pointers typed (select the best response):