Skip to content

Ownership practice problems in C++

Difficulty:
Category & tags Filters active
Category:
Tag:

Showing 6 of 6

Title Difficulty
A raw pointer owns nothing Medium
Break an ownership cycle with weak_ptr Hard
Give an allocated object an owner Medium
Implement copying and moving for an owned handle Hard
Let a vector own the histogram buckets Medium
Say it in the signature Easy