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 for the latest Boost documentation.
PrevUpHomeNext
unit_test::recorder::run_each_if

(Inherited from unit_test::runner)

Conditionally run suites in a container.

Synopsis
template<
    class SequenceContainer,
    class Pred>
bool
run_each_if(
    SequenceContainer const& c,
    Pred pred = Pred{});
Description

pred will be called as:

bool pred(suite_info const&);
Return Value

true if any conditions failed.


PrevUpHomeNext