Files
Upsilon/layout_reference.cpp
2018-06-28 17:07:24 +02:00

20 lines
548 B
C++

#include "layout_reference.h"
#include "layout_cursor.h"
#include "allocation_failed_layout_node.h"
#include "layout_node.h"
#include "char_layout_node.h"
template<>
TreeNode * LayoutRef::failedAllocationNode() {
static AllocationFailedLayoutRef FailureRef;
return FailureRef.node();
}
template <typename T>
LayoutCursor LayoutReference<T>::cursor() const {
return LayoutCursor(this->castedNode());
}
template LayoutCursor LayoutReference<LayoutNode>::cursor() const;
template LayoutCursor LayoutReference<CharLayoutNode>::cursor() const;