efl/src/tests/eina_cxx
Vitor Sousa 5619c6bc8d eina_cxx: Fix compatibility between eina::optionals of convertible types
Now an eina::optional that wraps a specific type can be constructed or
have content assigned to it using another eina::optional that wraps a
different type, provided that the two wrapped types are convertible
between each other.

Added "disengage" member function to be able to disengage a R-value
eina::optional of different contained type.
It also adds for increased convenience.

Fix constructing an engaged eina::optional from an disengaged one.

Fix small assertion problem of trying to construct an eina::optional
already flagged as engaged.

Fix incorrect use of std::move. Changed it to std::forward.

Added constexpr property for trivial constructors.

Added auxiliary function "make_optional".

Added unit test to check compatibility between eina::optionals of
convertible types.
2015-04-14 01:06:57 -03:00
..
eina_cxx_suite.cc check: fix tests suites on Windows 2015-01-30 10:49:54 +01:00
eina_cxx_test_accessor.cc cxx: General C++ Eo wrapper generation improvement 2015-01-05 15:52:27 -02:00
eina_cxx_test_error.cc tests: Added config.h to tests. 2014-07-18 18:55:56 -03:00
eina_cxx_test_inarray.cc tests: Added config.h to tests. 2014-07-18 18:55:56 -03:00
eina_cxx_test_inlist.cc tests: Added config.h to tests. 2014-07-18 18:55:56 -03:00
eina_cxx_test_iterator.cc tests: Added config.h to tests. 2014-07-18 18:55:56 -03:00
eina_cxx_test_log.cc tests: Added config.h to tests. 2014-07-18 18:55:56 -03:00
eina_cxx_test_optional.cc eina_cxx: Fix compatibility between eina::optionals of convertible types 2015-04-14 01:06:57 -03:00
eina_cxx_test_ptrarray.cc cxx: General C++ Eo wrapper generation improvement 2015-01-05 15:52:27 -02:00
eina_cxx_test_ptrlist.cc cxx: General C++ Eo wrapper generation improvement 2015-01-05 15:52:27 -02:00
eina_cxx_test_stringshare.cc tests: Added config.h to tests. 2014-07-18 18:55:56 -03:00
eina_cxx_test_thread.cc eina_cxx: Using eina::eina_init in all tests cases 2015-01-05 15:52:27 -02:00
eina_cxx_test_value.cc eina_cxx: Using eina::eina_init in all tests cases 2015-01-05 15:52:27 -02:00