diff options
author | Murray Cumming <murrayc@murrayc.com> | 2015-08-22 21:36:20 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2015-08-22 21:36:20 +0200 |
commit | 9a81b80ec1952fa01f873af4d7273b7f834d3678 (patch) | |
tree | c0df2a36d009ac86357fb16423688ad74ddf23b0 /NEWS | |
parent | 0fae44475f7f04eb7e1f3c8209760dacf0063be2 (diff) | |
download | glibmm-9a81b80ec1952fa01f873af4d7273b7f834d3678.tar.gz |
tests: Add glibmm_interface_move.
This code got unpleasantly big because I wanted to test a C++
class that wraps a GObject while also implementing a C++ Interface
that wraps a GInterface that the GObject implements. But it seems
to work.
However, the code to test a raw TestInterface is commented out
because the move constructor does not pass the test. I am not sure
if this should even be expected to work:
Interface interface = std::move(object);
or:
Base base = std::move(derived);
Surely that would lose the data (and virtual method table) from the
Derived class anyway?
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions