Lumiera
0.pre.03
»edit your freedom«
|
Test Dummy: a "segment" representing an integer interval.
Memory management can be tracked since each instance gets a distinct ID number. Moreover, a Seg can be marked as "empty", which is visible on the string
conversion
Definition at line 64 of file split-splice-test.cpp.
Public Member Functions | |
Seg (int s, int a, bool nil=false) | |
Seg (Seg const &ref, int s, int a) | |
create a clone, but modify bounds | |
Seg (Seg &&rr) | |
move-init: causes source-ref to be invalidated | |
operator string () const | |
Static Public Attributes | |
static size_t | check {0} |
static size_t | cnt {0} |
static uint | idGen {0} |
Public Attributes | |
int | after |
bool | empty |
uint | id |
int | start |
Additional Inherited Members | |
Protected Member Functions inherited from MoveOnly | |
MoveOnly (MoveOnly &&)=default | |
MoveOnly (MoveOnly const &)=delete | |
MoveOnly & | operator= (MoveOnly &&)=delete |
MoveOnly & | operator= (MoveOnly const &)=delete |