| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
It seems to be remarkably similar.
|
|
|
|
|
| |
Trying to avoid using auto where its a specific type that we are
trying to test for.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sigc++/adaptors/lambda/macros/base.h.m4:
* sigc++/adaptors/lambda/macros/group.h.m4:
* sigc++/adaptors/macros/track_obj.h.m4:
* sigc++/macros/signal.h.m4: Remove all talk about
SIGC_FUNCTORS_DEDUCE_RESULT_TYPE_WITH_DECLTYPE.
* sigc++/functors/slot_base.h: Mentioned that
SIGC_FUNCTORS_DEDUCE_RESULT_TYPE_WITH_DECLTYPE is not needed any more.
* tests/test_cpp11_lambda.cc:
* tests/test_track_obj.cc: Remove calls to
SIGC_FUNCTORS_DEDUCE_RESULT_TYPE_WITH_DECLTYPE and tests for C++11 capability.
* sigc++/functors/macros/functor_trait.h.m4: Add class
can_deduce_result_type_with_decltype<>. Use it as default value for the new
template parameter I_can_use_decltype in struct functor_trait<>.
Bug #672555.
Murray Cumming made the changes of all files except functor_trait.h.m4.
|
|
|
|
|
|
| |
* tests/test_cpp11_lambda.cc:
* tests/test_track_obj.cc: Compile C++11 lambda expressions if
_MSC_VER >= 1700. Bug #733752.
|
|
|
|
|
|
|
|
| |
* tests/test_cpp11_lambda.cc:
* tests/test_deduce_result_type.cc:
* tests/test_track_obj.cc: Don't define functions which are not used.
The clang++ compiler considers unused functions an error, when libsigc++ is
configured with --enable-warnings=fatal. Bug #724496.
|
|
* sigc++/.gitignore: Add adaptors/track_obj.h.
* sigc++/adaptors/adaptors.h: Add sigc++/adaptors/track_obj.h.
* sigc++/adaptors/lambda/macros/group.h.m4:
* sigc++/adaptors/macros/adaptor_trait.h.m4: Mention track_obj() in the
documentation.
* sigc++/adaptors/macros/track_obj.h.m4: New file.
* sigc++/filelist.am: Add track_obj.h.m4 and track_obj.h.
* tests/.gitignore:
* tests/Makefile.am: Add test_track_obj.
* tests/test_cpp11_lambda.cc: Use track_obj() to test auto-disconnection.
* tests/test_track_obj.cc: New test case.
Bug #672555.
|