proxsuite
0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
assert_impl.hpp
Go to the documentation of this file.
1
#ifndef VEG_ASSERT_HPP_VQDAJ2IBS
2
#define VEG_ASSERT_HPP_VQDAJ2IBS
3
4
#include "
proxsuite/linalg/veg/internal/typedefs.hpp
"
5
#include "
proxsuite/linalg/veg/util/defer.hpp
"
6
#include "
proxsuite/linalg/veg/internal/dbg.hpp
"
7
#include "
proxsuite/linalg/veg/internal/prologue.hpp
"
8
#include <cassert>
9
10
#define VEG_ASSERT(...) assert((__VA_ARGS__))
11
12
#define VEG_ASSERT_ALL_OF(...) \
13
assert(::proxsuite::linalg::veg::_detail::all_of({ __VA_ARGS__ }))
14
15
#define VEG_UNIMPLEMENTED() \
16
VEG_ASSERT(false); \
17
HEDLEY_UNREACHABLE()
18
19
#include "
proxsuite/linalg/veg/internal/epilogue.hpp
"
20
#endif
/* end of include guard VEG_ASSERT_HPP_VQDAJ2IBS */
defer.hpp
epilogue.hpp
dbg.hpp
prologue.hpp
typedefs.hpp
include
proxsuite
linalg
veg
internal
assert_impl.hpp
Generated by
1.10.0