Skip to content

C++: include cassert instead of assert.h

Steve Lhomme requested to merge robUx4/vlc:cassert into master

cassert is the preferred way in C++. It doesn't contain static_assert which is otherwise a keyword.

https://stackoverflow.com/a/43011752/1266123 https://en.cppreference.com/w/cpp/header/cassert https://en.cppreference.com/w/cpp/language/static_assert

Merge request reports