VCCC  2024.05
VisualCamp Common C++ library
forward_declare.hpp
Go to the documentation of this file.
1 # /*
2 # * Created by YongGyu Lee on 2020/02/05.
3 # */
4 #
5 # ifndef VCCC_MATH_MATRIX_FORWARD_DECLARE_HPP
6 # define VCCC_MATH_MATRIX_FORWARD_DECLARE_HPP
7 
8 namespace vccc {
9 
10 namespace internal {
11 namespace math{
12 
13 template<typename T> struct traits;
14 template<typename T> struct traits<const T> : traits<T> {};
15 
16 enum Flag : int {
17  kDefault = 0b1,
18  kAliasUnsafe = 0b10,
19  kReferenceUnsafe = 0b100
20 };
21 
22 } // namespace math
23 } // namespace internal
24 
25 // Base expression class
26 template<typename Derived> class MatrixBase;
27 
28 // Actual Matrix class
29 template <typename T, int m, int n> class Matrix;
30 
31 template<typename E1, typename E2> class MatrixSum;
32 
33 template<typename E> class MatrixMinus;
34 
35 template<typename Lhs, typename Rhs> class MatrixSub;
36 
37 template<typename LhsType, typename RhsType> class MatrixMulScalar;
38 template<typename LhsType, typename RhsType> class MatrixDivScalar;
39 template<typename LhsType, typename RhsType> class MatrixMulMatrix;
40 
41 template<typename ExprType> class MatrixProxyNocopy;
42 
43 } // namespace vccc
44 
45 # endif // VCCC_MATH_MATRIX_FORWARD_DECLARE_HPP
Definition: directory.h:12