Change non-member functions to use expression templates with result value passed to the function as "workspace". [SVN r73819]