¡@

Home 

c++ Programming Glossary: is_repeated

What is wrong with `std::set`?

http://stackoverflow.com/questions/5397616/what-is-wrong-with-stdset

output sangeth So I wrote this template typename T struct is_repeated std set T unique bool operator T c return unique.insert c .second.. string s saaangeetha s.erase std remove_if s.begin s.end is_repeated char s.end std cout s Which gives this output saangeth That.. my code a bit see the comment template typename T struct is_repeated std set T unique made reference is_repeated std set T s unique..