You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arrays can be passed by value by wrapping them in parenthesis when calling a function. Unfortunately it doesn't work correctly, for the most part it produces code that doesn't compile.
Functionally, the goal here is that the contents of the array are copied before the array is passed. How the copy happens depends on what kind of array it is - for most arrays the backing buffer can just be copied directly, for variable length strings the qbs objects need to be copied individually.
The text was updated successfully, but these errors were encountered:
Arrays can be passed by value by wrapping them in parenthesis when calling a function. Unfortunately it doesn't work correctly, for the most part it produces code that doesn't compile.
Functionally, the goal here is that the contents of the array are copied before the array is passed. How the copy happens depends on what kind of array it is - for most arrays the backing buffer can just be copied directly, for variable length strings the
qbs
objects need to be copied individually.The text was updated successfully, but these errors were encountered: