I've noticed a few Function in the Vex Lib such as most of the Array functions and few of the transform functions. That uses what looks like at least in C++ Pass-by-Reference Function.
Hello. When you define your own function inside VEX, all arguments are passed by reference. If you what to ensure that input arguments remain the same then you should use const keyword before your data type. Your example is for inbuilt VEX functions but not for user define functions in VEX. See notes in below: http://www.sidefx.com/docs/houdini/vex/lang.html [www.sidefx.com]