Skip to content

set_assertion_handler #1258

@flg

Description

@flg

tbb::set_assertion_handler was removed as from release 2021.1. Is there any other way to set an assertion handler?

tbb/detail/_assert.h still contains:

//! Process an assertion failure.
/** Normally called from __TBB_ASSERT macro.
  If assertion handler is null, print message for assertion failure and abort.
  Otherwise call the assertion handler. */
TBB_EXPORT void __TBB_EXPORTED_FUNC assertion_failure(const char* location, int line, const char* expression, const char* comment);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions