Topcoder gcc и bitset::to_string()

Дорешивая задачку из вчерашнего SRM, обнаружил, что C++ код, который компилируется у меня на компьютере (gcc 4.2.4), не хочет компилироваться на сервере Topcoder (там gcc 3.x). Проблема с bitset::to_string():
no matching function for call to `std::bitset<10u>::to_string()’
Обходится заменой to_string() на to_string<char, char_traits<char>, allocator<char> >()
Add post to:   Delicious Reddit Slashdot Digg Technorati Google
Make comment

Comments

No comments for this post

Required. 30 chars of fewer.

Required.