How can I combine pairs of elements from a std::set?
Posted
by vinnitu
on Stack Overflow
See other posts from Stack Overflow
or by vinnitu
Published on 2010-05-28T11:06:08Z
Indexed on
2010/05/28
13:32 UTC
Read the original article
Hit count: 181
I have a set<string>
from "one", "two", and "three".
How can I get all pairs from it?
- one - two
- one - three
- two - three
© Stack Overflow or respective owner