#include #include #include #ifdef _MSC_VER # include "vcl_msvc_warnings.h" #endif int test_set_main(int /*argc*/,char* /*argv*/[]) { typedef std::set > myset; myset s; s.insert(1); for (const myset::value_type p : s) std::cout << p << std::endl; return 0; }