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::runner::run_if

Conditionally run a sequence of suites.

Synopsis
template<
    class FwdIter,
    class Pred>
bool
run_if(
    FwdIter first,
    FwdIter last,
    Pred pred = Pred{});
Description

pred will be called as:

bool pred(suite_info const&);
Return Value

true if any conditions failed.


PrevUpHomeNext