All Questions
2
questions
9
votes
2
answers
3k
views
C++ Linked list with smart pointers
This seems to work fine, but I'm very new to C++ and would like any suggestions for improvements. Areas I have the most trouble with are:
Namespacing (honestly, it's still half looking stuff up and ...
7
votes
2
answers
2k
views
Am I using copy ctors/move ctors/shared_ptr correctly?
Here is my simple example: there is a class A with few primitive members and a class B with few primitive members but also a collection of objects of type A.
This is my A class:
...