Back to Arangodb

Views

3rdParty/boost/1.78.0/libs/mpl/doc/refmanual/views.html

3.12.9.11.3 KB
Original Source

| Prev Next | Back Along | Up Home | Full TOC | Front Page / Sequences / Views |

Views

A view is a sequence adaptor delivering an altered presentation of one or more underlying sequences. Views are lazy, meaning that their elements are only computed on demand. Similarly to the short-circuit logical operations and eval_if, views make it possible to avoid premature errors and inefficiencies from computations whose results will never be used. When approached with views in mind, many algorithmic problems can be solved in a simpler, more conceptually precise, more expressive way.

| Prev Next | Back Along | Up Home | Full TOC |

Copyright © 2001-2009 Aleksey Gurtovoy and David Abrahams Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |