std::tuple

| Home | Libraries | People | FAQ | More

### std::tuple

This module provides adapters for `std::tuple`. Including the module header makes `std::tuple` a fully conforming Random Access Sequence.

| Important
To be fully conforming, compiler should support C++11 Variadic Templates.

##### Header

    #include <boost/fusion/adapted/std_tuple.hpp>
    #include <boost/fusion/include/std_tuple.hpp>

##### Model of

- Random Access Sequence

##### Example

    std::tuple<int, std::string, float> p(123, "Hola!!!", 456.f);
    std::cout << at_c<0>(p) << std::endl;
    std::cout << at_c<1>(p) << std::endl;
    std::cout << p << std::endl;

##### See also

`std::tuple`