|
|
|
|||||
|
slice array type mapping to c++
Hello. After read slice data type mapping, it is pointed out that array type is mapping to std::vector in c++. But std::vector seems limited in many cases.
For example, if I have an image to transfer from the client to server. So my image is already in memory, if use std::vector, because it is value based, I have to do a data copy, and more inconveniently, std::vector(in microsoft's implementi) can only copy a element every time. So I have to write a cycle logic to copy the data. Is there any more convenient type for array mapping in c++? |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| effects of C++ Array Mapping for Sequences | smu | Help Center | 6 | 01-12-2007 04:35 PM |
| Memory problem using dictionary or array as parameters | enrico | Help Center | 6 | 03-27-2006 12:35 PM |
| Slice and array??? | surfer | Help Center | 4 | 11-14-2005 10:11 AM |
| how to pass binary char array to remote host efficiatively? | socketref | Help Center | 7 | 09-18-2005 11:15 AM |
| Type id | ganzuoni | Comments | 5 | 07-02-2003 04:09 AM |