#include <iostream>
#include <set>
#include <string>
using namespace std;
namespace cppfsm {
/* constants */
// character classes:
string s_alpha = "This text Will Become sorted, and duplicate letters will appear once.";
const set<char> alpha(s_alpha.c_str(),s_alpha.c_str()+s_alpha.length());
}
int main()
{
for (set<char>::const_iterator cit = cppfsm::alpha.begin();
cit != cppfsm::alpha.end();
++cit
)
cout << *cit << ' '; // display each character
cout << endl; // newline
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c2V0PgojaW5jbHVkZSA8c3RyaW5nPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCm5hbWVzcGFjZSBjcHBmc20gewogICAgLyogICAgICAgICAgICBjb25zdGFudHMgICAgICAgICAgICAgKi8KCS8vIGNoYXJhY3RlciBjbGFzc2VzOgoJc3RyaW5nIHNfYWxwaGEgPSAiVGhpcyB0ZXh0IFdpbGwgQmVjb21lIHNvcnRlZCwgYW5kIGR1cGxpY2F0ZSBsZXR0ZXJzIHdpbGwgYXBwZWFyIG9uY2UuIjsKCWNvbnN0IHNldDxjaGFyPiBhbHBoYShzX2FscGhhLmNfc3RyKCksc19hbHBoYS5jX3N0cigpK3NfYWxwaGEubGVuZ3RoKCkpOwp9CgppbnQgbWFpbigpCnsKCWZvciAoc2V0PGNoYXI+Ojpjb25zdF9pdGVyYXRvciBjaXQgPSBjcHBmc206OmFscGhhLmJlZ2luKCk7CgkJY2l0ICE9IGNwcGZzbTo6YWxwaGEuZW5kKCk7CgkJKytjaXQKCQkpCgkJY291dCA8PCAqY2l0IDw8ICcgJzsgLy8gZGlzcGxheSBlYWNoIGNoYXJhY3RlcgoKCWNvdXQgPDwgZW5kbDsgLy8gbmV3bGluZQp9Cg==