tesseract++ 0.0.1
N-dimensional tensor library for embedded systems
Loading...
Searching...
No Matches
BaseExpr.h
Go to the documentation of this file.
1#pragma once
2
3namespace detail
4{
6 {
7 };
8}
9
10// ===============================
11// Base Expression Interface (CRTP)
12// ===============================
13template <typename Derived>
15{
16public:
17 const Derived &derived() const
18 {
19 return static_cast<const Derived &>(*this);
20 }
21};
Definition BaseExpr.h:15
const Derived & derived() const
Definition BaseExpr.h:17
Definition BaseExpr.h:4
Definition BaseExpr.h:6