summaryrefslogtreecommitdiff
path: root/tests/test_signal_move.cc
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Add comments by uses after move.Murray Cumming2017-07-211-2/+2
| | | | | | Because we really do want to test this. We do not explicitly promise that it's safe to use moved-from libsigc++ objects, but we choose to make it safe.
* tests: Remove unnecessary includes.Murray Cumming2017-04-181-4/+0
| | | | Found by Jetbrains CLion.
* Update copyright years.Murray Cumming2016-04-201-1/+1
|
* Add .clang-format file and reformat tests and examples.Murray Cumming2016-03-301-4/+6
|
* tests: Use sigc::signal<R(Args...)> syntax only.Murray Cumming2016-03-161-3/+3
|
* slot and signal: Add missing move constructors and move assignmentsKjell Ahlstedt2015-11-081-2/+2
| | | | | | | | * sigc++/functors/macros/slot.h.m4: Add move operators for slot<>. * sigc++/macros/signal.h.m4: Add move operators for signal#<> and signal<>. * tests/test_signal_move.cc: * tests/test_slot_move.cc: Test that the source objects are empty. Bug #756484.
* slot and signal: Fix move constructors and move assignmentsKjell Ahlstedt2015-10-211-2/+4
| | | | | | | | | * sigc++/functors/macros/slot.h.m4: Add documentation. * sigc++/functors/slot_base.[h|cc]: Fix the move operators of slot_base. Don't move a connected slot. * sigc++/signal_base.cc: Fix the move assignment of signal_base. * tests/test_signal_move.cc: * tests/test_slot_move.cc: Really test move assignment. Bug #756484.
* Added test_signal_move.Murray Cumming2015-09-011-0/+50
This seems to work.