template<typename ... T>
struct boost::tuple< T >
Adapter for boost::tuple
s.
Modeled concepts
A boost::tuple
is a model of the Sequence
concept, and all the concepts it refines. That makes it essentially the same as a Hana tuple, although the complexity of some operations might differ from that of Hana's tuple.
#include <boost/tuple/tuple.hpp>
#include <string>
struct Fish { std::string name; };
struct Cat { std::string name; };
struct Dog { std::string name; };
int main() {
return a.name;
});
names,
boost::make_tuple("Moby Dick", "Garfield", "Snoopy")
));
}