I want to use a triplet class, as similar as possible to std::pair. STL doesn\'t seem to have one. I don\'t want to use something too heavy, like Boost. Is there some useful
If you're using C++11, you can use std::tuple.
If you're using C++03, then you'll either need to resort to rolling your own (which isn't too hard), or using tuple from Boost.
tuple