Constructor & Destructor Documentation

Copy constructor Copy constructor. It duplicates the data. It's marked explicit so that it's not accidentally passed by value. You can always pass by reference and then copy it, if needed. If you have a line like: UT_ValArray<int> a = otherarray; and it really does need to copy instead of referencing, you can rewrite it as: UT_ValArray<int> a(otherarray);