summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorllucax <llucax>2008-01-18 18:14:41 +0000
committerllucax <llucax>2008-01-18 18:14:41 +0000
commitfeb32e0f9e58b4437caf5b9436328dc4f444f1e7 (patch)
treee4b55568226a57a9f5192846ca02f2b4a6da6ee4 /LICENSE
parent168dbe26f6016988116006b49fbb4362be416ab7 (diff)
Add loop wrappers to C++ interface.
3 new classes are provided: loop_ref, dynamic_loop and default_loop. loop_ref has value semantics and is just a pointer wrapper (but with reference syntax). You can change a ev_loop* for a loop_ref and vice-versa without notice. You can create (or asign) a loop_ref from a ev_loop* and you can cast a loop_ref to a ev_loop*. You can check for equality between loop_refs and ev_loop pointers. No clean-up is done by a loop_ref. dynamic_loop and default_loop have both reference semantics (they are non-copiable and non-assignable), and provide automatic destruction.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions