<cassert>

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at <cassert>.

Includes the Standard C library header <assert.h> and adds the associated names to the std namespace.

#include <cassert>  
  

Including this header ensures that the names declared using external linkage in the Standard C library header are declared in the std namespace.

assert Macro, _assert, _wassert
Header Files Reference
STL Overview
Thread Safety in the C++ Standard Library

Show: