2.2.11: 2012-09-20 Andris Pavenis Fix comma operator in lambda expressions. * sigc++/adaptors/lambda/macros/operator.h.m4: Add lambda_action<> specialization for comma operator (operator,()). * tests/test_cpp11_lambda.cc: * tests/test_lambda.cc: Add a test case for the comma operator. Bug #342911. 2012-09-19 Kjell Ahlstedt Add SIGC_FUNCTORS_DEDUCE_RESULT_TYPE_WITH_DECLTYPE. * sigc++/adaptors/lambda/macros/base.h.m4: * sigc++/adaptors/lambda/macros/group.h.m4: * sigc++/functors/macros/functor_trait.h.m4: * tests/test_cpp11_lambda.cc: Replace the preprocessor macro SIGC_FUNCTORS_DEDUCE_RESULT_TYPE_WITH(C_keyword) with SIGC_FUNCTORS_DEDUCE_RESULT_TYPE_WITH_DECLTYPE. Bug #672555. 2012-09-10 Kjell Ahlstedt Use std::size_t and std::ptrdiff_t. * sigc++/macros/signal.h.m4: Use std::size_t and std::ptrdiff_t instead of ::size_t and ::ptrdiff_t. Only the std versions are required to be declared in . * sigc++/signal_base.h: Use std::size_t instead of ::size_t. (I did not change MSVC++-only code in this file and other files.) 2012-09-07 Kjell Ahlstedt Fix 'make check' with gcc 4.7. * sigc++/adaptors/lambda/macros/base.h.m4: Define sigc::unwrap_lambda_value() before it's used in sigc::lambda::operator[]() and operator=(). * sigc++/adaptors/lambda/macros/group.h.m4: Fix the C++11 examples in the documentation as in test_cpp11_lambda.cc. * tests/test_cpp11_lambda.cc: Only variables with automatic storage duration shall be captured in C++11 lambda expressions. 2012-08-28 Kjell Ahlstedt Update .gitignore and tests/.gitignore * .gitignore: Add *~ (gedit's backup files). * tests/.gitignore: Add missing executable test files. 2012-08-28 Kjell Ahlstedt Add SIGC_FUNCTORS_DEDUCE_RESULT_TYPE_WITH for C++11 lambda expressions. * sigc++/functors/macros/functor_trait.h.m4: Add the preprocessor macro SIGC_FUNCTORS_DEDUCE_RESULT_TYPE_WITH(C_keyword), which makes it possible to assign C++11 lambda expressions with any return type to slots. Thanks to Chow Loong Jin, who posted similar code on libsigc-list. * sigc++/adaptors/lambda/macros/base.h.m4: * sigc++/adaptors/lambda/macros/group.h.m4: Add information on C++11 lambda expressions to the documentation of lambda expressions and sigc::group(). * tests/Makefile.am: Add test_cpp11_lambda.cc. * tests/test_cpp11_lambda.cc: New test case, showing that most uses of libsigc++'s lambda expressions can be replaced by standard C++11 lambda expressions. Bug #672555. 2012-03-19 Kjell Ahlstedt Enable test_lambda in 'make check'. * tests/Makefile.am: Enable test_lambda in 'make check'. * tests/test_lambda.cc: Comment out the tests with sigc::ref() in lambda functions' parameter lists. See Bug #669128.