Std::unique_ptr deleted function, initializer_list - driven allocation?

According to Paragraph 8.5.1/2 of the C++11 Standard.

Arrays can only be initialized like that if the type is copyable or movable, and unique_ptr is not copyable, so a class with a unique_ptr member is not copyable by default, and your type has a user-defined destructor, which inhibits the implicit move constructor, so your type is not movable either.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions