| rcpputils
    master
    C++ API providing common utilities and data structures. | 
 
 
 
Go to the documentation of this file.
   19 #ifndef RCPPUTILS__ASSERTS_HPP_ 
   20 #define RCPPUTILS__ASSERTS_HPP_ 
   32 # pragma warning(push) 
   33 # pragma warning(disable:4251) 
   34 # pragma warning(disable:4275) 
   60   virtual const char * what() 
const throw();
 
   85   virtual const char * what() 
const throw();
 
  141 # pragma warning(pop) 
  144 #endif  // RCPPUTILS__ASSERTS_HPP_ 
  
Definition: asserts.hpp:37
void check_true(bool condition, const std::string &msg="check reported invalid state")
Check that a state condition passes.
Definition: asserts.hpp:109
An exception to be thrown when a state check fails.
Definition: asserts.hpp:67
void assert_true(bool condition, const std::string &msg="assertion failed")
Assert that a condition passes.
Definition: asserts.hpp:126
An assertion-like exception for halting tests if conditions are not met.
Definition: asserts.hpp:43
void require_true(bool condition, const std::string &msg="invalid argument passed")
Check that an argument condition passes.
Definition: asserts.hpp:95
Macros for controlling visibilty of exported iterfaces.
#define RCPPUTILS_PUBLIC
Declares symbols and functions will be visible for export.
Definition: visibility_control.hpp:85