25 #ifndef VISIONCPP_INCLUDE_FRAMEWORK_EXPR_CONVERTOR_LEAF_COUNT_HPP_
26 #define VISIONCPP_INCLUDE_FRAMEWORK_EXPR_CONVERTOR_LEAF_COUNT_HPP_
34 template <
typename RHS,
size_t LVL>
36 static constexpr
size_t Count = 1;
43 template <
typename Expr>
45 static constexpr
size_t Count =
53 template <
typename Expr>
55 static constexpr
size_t Count =
static constexpr size_t Unary
static constexpr size_t Binary
is used to count the total number of leafNode in the expression tree.
the definition is in LeafNode.