id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 7356,"program crashed when using phoenix::switch_,case<> with STL::for_each, using std::vector as the container",wqgg123@…,Thomas Heller," Problem: the program is listed as bellow, complied with mingw32-gcc-4.6.2, enabling std++0x. The program is OK when running in debug model, but crashed in release mode. The error code is -1073741819. #include #include #include #include using namespace std; using namespace boost; using phoenix::placeholders::arg1; int main() { vector vec = {1, 2, 3, 4, 5, 6, 7, 8, 9}; for_each(vec.begin(), vec.end(), switch_(arg1) [ phoenix::case_<1>(cout << phoenix::val(""One"") << '\n'), phoenix::case_<2>(cout << phoenix::val(""Two"") << '\n'), phoenix::default_(cout << phoenix::val(""other value"") << '\n') ]); return 0; }",Bugs,closed,To Be Determined,phoenix,Boost 1.51.0,Problem,fixed,phoenix::switch_,