Search code examples
Reset boost::shared_ptr captured by value from lambda...

c++lambdashared-ptrpass-by-value

Read More
Is golang map lookup by value or by reference?...

dictionarygopass-by-referencepass-by-value

Read More
when should we add '&' and when we shouldn't while calling a function in c language?...

cpointersstructpass-by-referencepass-by-value

Read More
Change an object in a list of objects by using foreach over a smaller list of the same objects...

c#foreachpass-by-referenceienumerablepass-by-value

Read More
C++ - passing references to std::shared_ptr or boost::shared_ptr...

c++boostpass-by-referencepass-by-valueshared-ptr

Read More
C ++ pass by reference or pass by value?...

c++pass-by-referencepass-by-value

Read More
Canonical implementation of operator+ involves additional move constructor...

c++operator-overloadinglanguage-lawyerpass-by-referencepass-by-value

Read More
Why does string_view::operator== accepts parameters by value...

c++stdpass-by-valuestring-viewpass-by-const-reference

Read More
Why is my array being passed with an incorrect size?...

c++arrayspass-by-referenceimplicit-conversionpass-by-value

Read More
Is it more conventional to pass-by-value or pass-by-reference when the method needs ownership of the...

rustreferencepass-by-referencepass-by-value

Read More
Default parameter passing in C#...

c#parametersparameter-passingpass-by-valuereference-type

Read More
Why is this working? I cannot understand the logic of this swapping...

c++stringpass-by-referencepass-by-value

Read More
C programming, manipulating functions' arguments and return...

cfunctionreturnargumentspass-by-value

Read More
Python - array copying/assign, unexpected '=array[:]' behaviour for numpy...

pythonarrayslistpass-by-referencepass-by-value

Read More
Are variables/objects passed by value and why can't I change object's property with variable...

javascripthtmlobjectpass-by-referencepass-by-value

Read More
Trying to use templatised fuctions to swap two strings...

c++templatespass-by-referencepass-by-valuestdstring

Read More
Why does the C++ standard library always pass std::initializer_list<T> by value rather than by...

c++c++11pass-by-referencestandardspass-by-value

Read More
why do I see different values of array size in main vs other function...

c++pointerspass-by-referenceimplicit-conversionpass-by-value

Read More
Is it possible to do "call by reference when possible" in C++?...

c++pass-by-referencepass-by-value

Read More
Swap value of two attributes of two objects...

c++ooppointerspass-by-referencepass-by-value

Read More
Are arrays in PHP copied as value or as reference to new variables, and when passed to functions?...

phparraysreferencepass-by-referencepass-by-value

Read More
In C# should I pass a parameter by value and return the same variable, or pass by reference?...

c#methodspass-by-referenceargument-passingpass-by-value

Read More
Where are exceptions thrown when arguments are passed by value...

c++exceptionlanguage-lawyerpass-by-valuenoexcept

Read More
Error initializing structures with helper function...

cstructpass-by-value

Read More
What is the use of "ref" for reference-type variables in C#?...

c#parameterspass-by-referencepass-by-value

Read More
Pass an array to a function by value...

carraysfunctionpass-by-referencepass-by-value

Read More
Is it most efficient to have all functions accept only parameter primitives wrapped by an object?...

javascripttypescriptpass-by-referencepass-by-value

Read More
Why would you ever take the copy of an object as a parameter to your function? Why are not const ref...

c++pass-by-referencepass-by-value

Read More
Why does my std::ref not work as expected?...

c++referencepass-by-referencehigher-order-functionspass-by-value

Read More
Is Size Really A Concern When Deciding Whether To Pass By Reference Or Value?...

c++sizepass-by-referencesemanticspass-by-value

Read More
BackNext