Boost LA

col

#include <boost/la/col.hpp>

namespace
boost
    {
    namespace
    la
        {
        template <int C>
        -unspecified-return-type- col();
        }
    }

The expression m|col<C> returns a view proxy that accesses column C of the matrix m as a vector.