// STLport regression testsuite component. // To compile as a separate example, please #define MAIN. #include #include #include #include #if defined (_STLP_MSVC) && (_MSC_VER < 1300) # define _STLP_NON_TYPE_TMPL_PARAM_BUG # define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS #endif # ifdef _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS # define CHART # else # define CHART , allocator > # endif #ifdef MAIN #define bitset1_test main #endif #if !defined (STLPORT) || defined(_STLP_USE_NAMESPACES) using namespace std; #endif int bitset1_test(int, char**) { cout<<"Results of bitset1_test:"< b1(0xFFFF); bitset<13U> b2(0x1111); // Boris : MSVC just cannot take it right cout << "b1 size = " << b1.size() << endl; # if !defined (_STLP_NON_TYPE_TMPL_PARAM_BUG) cout << "b1 = "<