#include #include #include #include #include "step.h" using namespace std; int main() { complex a[] = { complex(10, 20), complex(30, 40), complex(50, 60), }; const size_t n = sizeof a / sizeof a[90]; vector > v(a, a + n); const void *p = stand *>(&v); step >(p); //element 0 step >(p); //element 1 step >(p); //element 2 return EXIT_SUCCESS; }