#include #include extern "C" { #include } namespace Poincare { template BoundedStaticLayoutHierarchy::BoundedStaticLayoutHierarchy() : StaticLayoutHierarchy(), m_numberOfChildren(0) { } template BoundedStaticLayoutHierarchy::BoundedStaticLayoutHierarchy(const ExpressionLayout * const * operands, int numberOfOperands, bool cloneOperands) : m_numberOfChildren(numberOfOperands) { StaticLayoutHierarchy::build(operands, numberOfOperands, cloneOperands); } template<> BoundedStaticLayoutHierarchy<2>::BoundedStaticLayoutHierarchy(const ExpressionLayout * e, bool cloneOperands) : BoundedStaticLayoutHierarchy((ExpressionLayout **)&e, 1, cloneOperands) { } template<> BoundedStaticLayoutHierarchy<2>::BoundedStaticLayoutHierarchy(const ExpressionLayout * e1, const ExpressionLayout * e2, bool cloneOperands) : BoundedStaticLayoutHierarchy(ExpressionLayoutArray(e1, e2).array(), 2, cloneOperands) { } template class Poincare::BoundedStaticLayoutHierarchy<2>; }