What, if any, restrictions does using the version of resize that takes a single argument place on the element type
belongs to book: C++ Primer|Stanley B.Lippman, Josee Lajoie, Barbara E.Moo|5th Edition| Chapter number:9| Question number:30
All Answers
total answers (1)
If we use
need an explanation for this answer? contact us directly to get an explanation for this answer`resize`
to expand a container, then the element of the container must have default constructor.