Mirror reflection library - Lagoon run-time layer 0.5.13
|
Finding the first element satisfying a predicate. More...
#include <lagoon/range/utils.hpp>
Go to the source code of this file.
Namespaces | |
namespace | lagoon |
The Lagoon run-time layer built on Mirror is defined in this namespace. | |
Functions | |
template<class Range , typename Predicate > | |
UnspecifiedRange | lagoon::only_if (Range range, Predicate predicate) |
Adapts the range to contain only elements satisfying a predicate. |
Finding the first element satisfying a predicate.
Copyright 2008-2010 Matus Chochlik. 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)