Files
Upsilon/layout_reference.cpp

20 lines
560 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::staticFailedAllocationStaticNode() {
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;