// tstsptr5.cpp - test performance of smart pointer array #include #include "sptrs.hpp" void main() { const int imax = 1000; struct testStr { int x; double y; char z; } test; sptr sPtr(&test); int i, j; for(i=0; ix = 1; sPtr->y = 2.5; sPtr->z = 'z'; } }