| Home | Libraries | People | FAQ | More

### std::pair

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

##### Header

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

##### Model of

- Random Access Sequence

##### Example

    std::pair<int, std::string> p(123, "Hola!!!");
    std::cout << at_c<0>(p) << std::endl;
    std::cout << at_c<1>(p) << std::endl;
    std::cout << p << std::endl;

##### See also

`std::pair`, `TR1 and std::pair`