c++ - Copy control for pointers in string -
so have test , while studying came following question don't understand (nor question or answer)
i know coding, don't understand nonsense try teach us. question is:
q: class string has pointers array of char. of 3 copy control solutions pointers, class must define?
a: value_like semantics
i know string array of chars, don't know "copy control solutions", i'm not sure copy control (copy constructor maybe??) , value_like semantics??
hope question makes sense, translated hebrew.
thanks :)
"copy control solutions" refers implementation strategies copy constructor , copy assignment. assume textbooks @ point list 3 solutions pointers, given peculiarly specific wording of question.
therefore, them , understand about. knowing how implement copying resource-managing objects 1 of essential language-specific skills c++ programmer.
Comments
Post a Comment