Should unique_ptr be used for class member pointers? [closed] - c++

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Looking for some opinions on this as it's unclear in reading the C++ 11 documentation.

Absolutely. This takes care of the rule of three for you.

Related

Is map<int, list> in C++ possible? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to have a linkedlist for each key in the map in C++.
Yes, std::map<int, std::list<SomeType>> is possible in C++.
Have a look at ideone, which is useful for testing simple things such as this.

EMACS regex,How to work only in the designated few lines [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
For example, I just want it to work in the 1-10 lines, how to do it. A rookie, thanks for help.
You can use narrow-mode, and it will display only the first 10 lines, hiding the rest.

What is a base initializer in C++? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
My teacher asked me what a base initializer in C++ is.
Can someone of you provide me a definition?
Read up on: Initialiser Lists.
http://www.cprogramming.com/tutorial/initialization-lists-c++.html

What are the c++ commands for case speaker? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I'm trying to make a MIDI song using c++. What are the commands?
If your platform is just "C++", then there are no such "commands". The C++ standard does not specify sound at all.

A Question about C++ / OOD Interview Questions [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
What is the most interesting or difficult question asked to you during an C++/OOD interview?
What is the most interesting or difficult question you like to ask to a candidate during a C++/OOD interview?
Edit: Updated the misleading Title
Edit: Ofcourse:
1. When you are the one being interviewed.
2. When you are intervieweing someone.