![]() |
Lumiera 0.pre.04~rc.1
»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 65 of file split-splice-test.cpp.
Static Public Attributes | |
| static uint | idGen {0} |
| static size_t | cnt {0} |
| static size_t | check {0} |
Public Attributes | |
| int | start |
| int | after |
| bool | empty |
| uint | id |
Public Member Functions | |
| ~Seg () | |
| 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 | |
Additional Inherited Members | |
Protected Member Functions inherited from MoveOnly | |
| ~MoveOnly ()=default | |
| MoveOnly ()=default | |
| MoveOnly (MoveOnly &&)=default | |
| MoveOnly (MoveOnly const &)=delete | |
| MoveOnly & | operator= (MoveOnly &&)=delete |
| MoveOnly & | operator= (MoveOnly const &)=delete |
|
inline |
Definition at line 72 of file split-splice-test.cpp.
|
inline |
Definition at line 78 of file split-splice-test.cpp.
create a clone, but modify bounds
Definition at line 89 of file split-splice-test.cpp.
move-init: causes source-ref to be invalidated
Definition at line 100 of file split-splice-test.cpp.
|
inline |
Definition at line 109 of file split-splice-test.cpp.
| int start |
Definition at line 68 of file split-splice-test.cpp.
| int after |
Definition at line 69 of file split-splice-test.cpp.
| bool empty |
Definition at line 70 of file split-splice-test.cpp.
| uint id |
Definition at line 120 of file split-splice-test.cpp.
|
static |
Definition at line 121 of file split-splice-test.cpp.
|
static |
Definition at line 122 of file split-splice-test.cpp.
|
static |
Definition at line 123 of file split-splice-test.cpp.
Inheritance diagram for Seg:
Collaboration diagram for Seg: