Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
row::as_vector (1 of 2 overloads)

Converts the row into a std::vector of field's.

Synopsis
template<
    class Allocator>
void
as_vector(
    std::vector< field, Allocator >& out) const;
Description

As row objects are read-only, you can use this function if you need to mutate fields in a row.

Exception safety

Basic guarantee. Allocations may throw.

Complexity

Linear in this->size().


PrevUpHomeNext