Home » U++ Library support » U++ Core » Is there way to get subrange of a vector quickly?
|
Re: Is there way to get subrange of a vector quickly? [message #28677 is a reply to message #28675] |
Sat, 11 September 2010 16:29 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
Elements of a Vector must have a Deep Copy Constructor, which should be called in case of assignment. So creating a subrange has to be a loop with assignment operators.
Dropping of the Deep Copy Constructor requirement would let you to call memcpy().
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Sat Sep 21 03:00:25 CEST 2024
Total time taken to generate the page: 0.01817 seconds
|