mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-23 15:50:49 +01:00
20 lines
560 B
C++
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;
|