dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Lindley

Search: Search took 0.07 seconds.

  1. Re: Why does std::vector require its elements to be assignable?

    But by using placement new, you can do the push_back with the cctor instead of the assignment operator.

    Although, granted, I don't think there are many cases where a type would be copy...
  2. Re: Why does std::vector require its elements to be assignable?

    It would be nice if the requirement could be reduced to move-assignable for move-aware types.
Results 1 to 2 of 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)