// STLport regression testsuite component. // To compile as a separate example, please #define MAIN. #include #include #include "unary.h" #ifdef MAIN #define ucompos1_test main #endif #if !defined (STLPORT) || defined(__STL_USE_NAMESPACES) using namespace std; #endif int ucompos1_test(int, char**) { cout<<"Results of ucompos1_test:"<())); unary_compose >(square_root(), negate())); for(int i = 0; i < 3; i++) cout << output[i] << endl; return 0; }