| Home | Libraries | People | FAQ | More

### boost::array

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

#### Header

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

#### Model of

- Random Access Sequence

#### Example

    boost::array<int,3> arr = {{1,2,3}};

    std::cout << *begin(arr) << std::endl;
    std::cout << *next(begin(arr)) << std::endl;
    std::cout << *advance_c<2>(begin(arr)) << std::endl;
    std::cout << *prior(end(arr)) << std::endl;
    std::cout << at_c<2>(arr) << std::endl;

#### See also

Boost.Array Library