Terminology involved in the C ++ movement

On this page http://herbsutter.com/elements-of-modern-c-style/ under the "Move / & &" section refers to a term declared in the following context (quoted from this link):

// C++11: move
vector<int> make_big_vector(); // usually sufficient for 'callee-allocated out' situations
:::
auto result = make_big_vector(); // guaranteed not to copy the vector

      

What does this term mean?

+3


source to share


1 answer


"Highlighted Callee" as in a highlighted called function, "out" means the data to be returned. This is in contrast to a "dedicated call" where the caller needs to pass a dedicated structure to a function.



+5


source







All Articles