MCPcopy Create free account
hub / github.com/avaxman/Directional / check_index

Function check_index

external/eigen/test/basicstuff.cpp:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13template <typename MatrixType>
14std::enable_if_t<(MatrixType::RowsAtCompileTime==1 || MatrixType::ColsAtCompileTime==1),void>
15check_index(const MatrixType& m) {
16 VERIFY_RAISES_ASSERT(m[0]);
17 VERIFY_RAISES_ASSERT((m+m)[0]);
18}
19
20template <typename MatrixType>
21std::enable_if_t<!(MatrixType::RowsAtCompileTime==1 || MatrixType::ColsAtCompileTime==1),void>

Callers 1

basicStuffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected