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 a snapshot of the develop branch, built from commit 65eb09a2c6.
PrevUpHomeNext
test::fail_count::fail_count (2 of 2 overloads)

Construct a counter.

Synopsis
fail_count(
    std::size_t n,
    error_code ev = error::test_failure);
Description Parameters

Name

Description

n

The 0-based index of the operation to fail on or after

ev

An optional error code to use when generating a simulated failure


PrevUpHomeNext