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 to view this page for the latest version.
PrevUpHomeNext

test::success_handler

Return a test CompletionHandler which requires success.

Synopsis

Defined in header <boost/beast/_experimental/test/handler.hpp>

handler
success_handler(
    boost::source_location loc = BOOST_CURRENT_LOCATION);
Description

The returned handler can be invoked with any signature whose first parameter is an error_code. The handler fails the test if:


PrevUpHomeNext