From: DongHun Kwak Date: Wed, 11 Sep 2019 04:25:05 +0000 (+0900) Subject: Imported Upstream version 2.99.2 X-Git-Tag: upstream/2.99.2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fupstream%2F2.99.2;p=platform%2Fupstream%2Flibsigc%2B%2B.git Imported Upstream version 2.99.2 --- diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..d8d56b2 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,106 @@ +# Copyright 2016, The libsigc++ Development Team +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +cmake_minimum_required (VERSION 3.2) + +set (SIGCXX_MAJOR_VERSION 2) +set (SIGCXX_MINOR_VERSION 99) +set (SIGCXX_MICRO_VERSION 1) + +set (SIGCXX_API_VERSION 3.0) +set (PACKAGE_VERSION ${SIGCXX_MAJOR_VERSION}.${SIGCXX_MINOR_VERSION}.${SIGCXX_MICRO_VERSION}) +set (LIBSIGCPP_SOVERSION 0) + +option (SIGCXX_DISABLE_DEPRECATED "Disable deprecated" OFF) + +project (sigc++) + +set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y") + +set (PROJECT_SOURCE_DIR "${sigc++_SOURCE_DIR}/sigc++") + +include_directories (${sigc++_SOURCE_DIR}) +include_directories (${sigc++_BINARY_DIR}) + +configure_file (sigc++config.h.cmake sigc++config.h) + +set (prefix ${CMAKE_INSTALL_PREFIX}) +set (exec_prefix \${prefix}) +set (libdir \${exec_prefix}/lib) +set (datarootdir \${prefix}) +set (datadir \${datarootdir}) +set (includedir \${prefix}/include) +set (top_srcdir .) +configure_file (sigc++.pc.in sigc++-${SIGCXX_API_VERSION}.pc @ONLY) +configure_file (sigc++-uninstalled.pc.in sigc++-${SIGCXX_API_VERSION}-uninstalled.pc @ONLY) + +configure_file( + "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in" + "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" + IMMEDIATE @ONLY) + +add_custom_target(uninstall + COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake) + + +install (FILES + "${CMAKE_CURRENT_BINARY_DIR}/sigc++config.h" + DESTINATION + "${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME}-${SIGCXX_API_VERSION}/include") + +install (FILES + "${CMAKE_CURRENT_BINARY_DIR}/sigc++-${SIGCXX_API_VERSION}.pc" + DESTINATION + "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig") + +enable_testing() + + + +add_subdirectory (sigc++) +add_subdirectory (examples) +add_subdirectory (tests) + + +set (PROJECT_CMAKE_NAME "${PROJECT_NAME}-3") +set (VERSION_CONFIG "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_CMAKE_NAME}ConfigVersion.cmake") +set (LIBSIGCXX_INCLUDE_DIR "${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME}-${SIGCXX_API_VERSION}/include") +set (PROJECT_CONFIG "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_CMAKE_NAME}Config.cmake") +set (CONFIG_INSTALL_DIR "lib/cmake/${PROJECT_CMAKE_NAME}") +set (TARGETS_EXPORT_NAME "${PROJECT_CMAKE_NAME}Targets") +include (CMakePackageConfigHelpers) + +write_basic_package_version_file ( + "${VERSION_CONFIG}" + VERSION ${PACKAGE_VERSION} + COMPATIBILITY SameMajorVersion +) + +configure_package_config_file ( + "cmake/sigc++-3Config.cmake.in" + "${PROJECT_CONFIG}" + INSTALL_DESTINATION "${CONFIG_INSTALL_DIR}" +) + +install ( + FILES "${PROJECT_CONFIG}" "${VERSION_CONFIG}" + DESTINATION "${CONFIG_INSTALL_DIR}" +) + +install ( + EXPORT "${TARGETS_EXPORT_NAME}" + DESTINATION "${CONFIG_INSTALL_DIR}" +) diff --git a/ChangeLog b/ChangeLog index 2df0efc..8ba2903 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,267 @@ +2016-03-16 Murray Cumming + + 2.99.2 + +2016-03-16 Kjell Ahlstedt + + slot: Reinsert a comment that disappeared accidentally + + The description of slot's specialization of visitor<>::do_visit_each<>() + disappeared by mistake when the slot# classes were removed. + +2016-03-16 Murray Cumming + + slot: Allow only the slot syntax. + +2016-03-16 Murray Cumming + + tests: Use the sigc::slot syntax only. + +2016-03-16 Murray Cumming + + pointer_functor: Use the R(Args...) syntax. + +2016-03-16 Murray Cumming + + signal: Allow only the signal syntax. + +2016-03-16 Murray Cumming + + tests: Use sigc::signal syntax only. + +2016-03-16 Murray Cumming + + signal: Use the slot syntax. + +2016-03-16 Murray Cumming + + examples: Use sigc::signal syntax. + +2016-03-16 Murray Cumming + + docs: signal_base/exception_catch: Use signal syntax. + +2016-03-16 Murray Cumming + + docs: slot_base: Use slot syntax. + +2016-03-16 Murray Cumming + + docs: Use signal syntax. + +2016-03-16 Murray Cumming + + docs: mem_fun/ptr_fun: Use the sigc::slot syntax. + +2016-03-16 Murray Cumming + + test_retype: Add test of R(Args...) syntax. + +2016-03-16 Murray Cumming + + test_retype: Break into smaller tests. + +2016-03-15 Murray Cumming + + Reference docs: main page: Use @c to monospace function names. + +2016-03-15 Murray Cumming + + Reference docs: main page: Discourage multiple PKG_CHECK_MODULES() calls. + + Mention that one PKG_CHECK_MODULES() call can check for all + pgk-config-based dependencies. + +2016-03-15 Murray Cumming + + Reference docs: main page: Make autotools part consistent with CMake part. + +2016-03-15 Murray Cumming + + Reference docs: main page: Mention CMake. + +2016-03-13 Murray Cumming + + Add a file about build systems. + + Otherwise people will wonder whether we use autotools or CMake as our + main build system. + +2016-03-13 Murray Cumming + + Update README to remove mention of m4. + +2016-03-13 Murray Cumming + + test_tuple_transform_each: Comment out constexpr test that fails with g++. + + Hopefully this works with newer g++ versions. + +2016-03-13 Marcin Kolny + + cmake: reduce required version to 3.2 + +2016-03-13 Marcin Kolny + + cmake: add cmake files to dist package + +2016-03-12 Marcin Kolny + + cmake: fix generating cmake *Config files + +2016-03-12 Marcin Kolny + + cmake: fix library name + +2016-03-12 Marcin Kolny + + cmake: fix library output name + +2016-03-12 Marcin Kolny + + cmake: install sigc++config.h file + +2016-03-12 Marcin Kolny + + cmake: don't install uninstalled.pc file + +2016-03-12 Marcin Kolny + + cmake: add uninstall target + +2016-03-12 Marcin Kolny + + cmake: install headers from sigc++ directory + +2016-03-12 Marcin Kolny + + cmake: generate and install uninstalled.pc file + +2016-03-12 Marcin Kolny + + cmake: generate cmake *Config and *ConfigVersion files + +2016-03-12 Marcin Kolny + + cmake: add pkg-config support + +2016-03-12 Marcin Kolny + + cmake: init - add cmake files + +2016-03-11 Murray Cumming + + signal: Allow sigc::signal declaration, like std::function. + + By adding a template specialization that repeats the main + template declaration, though it would be good to avoid the repetition. + + Bug #763393 + + Please enter the commit message for your changes. Lines starting + +2016-03-11 Murray Cumming + + slot: Allow sigc::slot declaration, like std::function. + + By adding a template specialization that repeats the main + template declaration, though it would be good to avoid the repetition. + + Bug #763393 + +2016-03-11 Murray Cumming + + signal: Update and improve the doxygen comment. + +2016-03-11 Murray Cumming + + test_accumulated(): Restructure this. + + To make it clearer and to keep the small tests more self-contained and + separate. + +2016-03-11 Murray Cumming + + test_signal: Add test_simple(). + +2016-03-11 Murray Cumming + + test_signal(): Restructure this. + + To make it clearer and to keep the small tests more self-contained and + separate. + +2016-03-11 Murray Cumming + + slot: Update the Doxygen comment. + +2016-03-11 Murray Cumming + + slot: Correct the doxygen comment line ending. + +2016-03-11 Murray Cumming + + test_slot(): Restructure this. + + To make it clearer and to keep the small tests more self-contained and + separate. + +2016-03-10 Murray Cumming + + examples build: Disable deprecated API. + +2016-03-10 Murray Cumming + + mem_functor: Remove now-unnecessary operator()(pointer). + +2016-03-10 Murray Cumming + + retype: Simplify by using a template template parameter. + +2016-03-10 Murray Cumming + + mem_fun(): Remove the T_obj* overloads. + + So you would, for instance, always call sigc::mem_fun(*this, ...) + instead of sigc::mem_fun(this, ...). + + Bug #763215 + +2016-03-08 Murray Cumming + + tuple_transform_each(): Allow this to be a constexpr. + +2016-03-08 Murray Cumming + + bind: Use of constexpr. + +2016-03-08 Murray Cumming + + tuple_for_each(): Use of constexpr. + +2016-03-08 Murray Cumming + + tuple_cdr(), tuple_start(), tuple_end(): Use of constexpr. + +2016-03-08 Murray Cumming + + TupleVisitorVisitEach and TupleVisitorVisitEach: Use constexpr. + + This would seem to be necessary if the tuple utils are ever fully + constexpr. + +2016-03-08 Murray Cumming + + bind: Use of const. + +2016-03-08 Murray Cumming + + Put member_method*<> in sigc::internal namespace. + +2016-03-07 Murray Cumming + + NEWS: Mention that it needs C++14. + 2016-03-07 Murray Cumming Update NEWS diff --git a/MSVC_Net2013/sigc++config.h b/MSVC_Net2013/sigc++config.h index e09fe24..bb52372 100644 --- a/MSVC_Net2013/sigc++config.h +++ b/MSVC_Net2013/sigc++config.h @@ -7,7 +7,7 @@ #define SIGCXX_MAJOR_VERSION 2 /* Micro version number of sigc++. */ -#define SIGCXX_MICRO_VERSION 1 +#define SIGCXX_MICRO_VERSION 2 /* Minor version number of sigc++. */ #define SIGCXX_MINOR_VERSION 99 diff --git a/MSVC_Net2013/sigc.rc b/MSVC_Net2013/sigc.rc index 1b270a8..8bfa8e5 100644 --- a/MSVC_Net2013/sigc.rc +++ b/MSVC_Net2013/sigc.rc @@ -2,8 +2,8 @@ #include VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,99,1,1 - PRODUCTVERSION 2,99,1,1 + FILEVERSION 2,99,2,1 + PRODUCTVERSION 2,99,2,1 FILEFLAGSMASK 0 FILEFLAGS 0x0L FILEOS VOS__WINDOWS32 @@ -16,11 +16,11 @@ BEGIN BEGIN VALUE "CompanyName", "The libsigc++ development team (see AUTHORS)" VALUE "FileDescription", "The Typesafe Callback Framework for C++" - VALUE "FileVersion", "2.99.1" + VALUE "FileVersion", "2.99.2" VALUE "LegalCopyright", "Distribution is under the LGPL (see COPYING)" VALUE "OriginalFilename", "sigc-3.0.dll" VALUE "ProductName", "libsigc++" - VALUE "ProductVersion", "2.99.1" + VALUE "ProductVersion", "2.99.2" END END BLOCK "VarFileInfo" diff --git a/Makefile.am b/Makefile.am index 1ae3b2e..e16143e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,7 +22,7 @@ doc_subdirs = docs else doc_subdirs = endif -SUBDIRS = sigc++ tests examples $(doc_subdirs) +SUBDIRS = sigc++ tests examples cmake $(doc_subdirs) sigc_configdir = $(libdir)/$(SIGCXX_MODULE_NAME)/include nodist_sigc_config_HEADERS = sigc++config.h @@ -35,7 +35,7 @@ dist_noinst_SCRIPTS = autogen.sh include $(srcdir)/MSVC_Net2013/filelist.am -dist_noinst_DATA = $(addprefix MSVC_Net2013/,$(msvc_net2013_data)) +dist_noinst_DATA = $(addprefix MSVC_Net2013/,$(msvc_net2013_data)) CMakeLists.txt sigc++config.h.cmake cmake_uninstall.cmake.in DISTCLEANFILES = MSVC_Net2013/sigc++config.h diff --git a/Makefile.in b/Makefile.in index d795450..0a2fb57 100644 --- a/Makefile.in +++ b/Makefile.in @@ -198,7 +198,7 @@ am__define_uniq_tagged_files = \ ETAGS = etags CTAGS = ctags CSCOPE = cscope -DIST_SUBDIRS = sigc++ tests examples docs +DIST_SUBDIRS = sigc++ tests examples cmake docs am__DIST_COMMON = $(srcdir)/MSVC_Net2013/filelist.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/sigc++-uninstalled.pc.in $(srcdir)/sigc++.pc.in \ @@ -211,8 +211,8 @@ am__DIST_COMMON = $(srcdir)/MSVC_Net2013/filelist.am \ $(top_srcdir)/build/missing \ $(top_srcdir)/docs/reference/Doxyfile.in AUTHORS COPYING \ ChangeLog INSTALL NEWS README build/compile build/config.guess \ - build/config.sub build/install-sh build/ltmain.sh \ - build/missing + build/config.sub build/depcomp build/install-sh \ + build/ltmain.sh build/missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) @@ -399,7 +399,7 @@ top_srcdir = @top_srcdir@ ACLOCAL_AMFLAGS = -I build ${ACLOCAL_FLAGS} @ENABLE_DOCUMENTATION_FALSE@doc_subdirs = @ENABLE_DOCUMENTATION_TRUE@doc_subdirs = docs -SUBDIRS = sigc++ tests examples $(doc_subdirs) +SUBDIRS = sigc++ tests examples cmake $(doc_subdirs) sigc_configdir = $(libdir)/$(SIGCXX_MODULE_NAME)/include nodist_sigc_config_HEADERS = sigc++config.h pkgconfigdir = $(libdir)/pkgconfig @@ -473,7 +473,7 @@ msvc_net2013_data = \ test_visit_each.vcxproj \ test_visit_each.vcxproj.filters -dist_noinst_DATA = $(addprefix MSVC_Net2013/,$(msvc_net2013_data)) +dist_noinst_DATA = $(addprefix MSVC_Net2013/,$(msvc_net2013_data)) CMakeLists.txt sigc++config.h.cmake cmake_uninstall.cmake.in DISTCLEANFILES = MSVC_Net2013/sigc++config.h all: config.h sigc++config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive diff --git a/NEWS b/NEWS index 1177c32..9ec1591 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,14 @@ +2.99.2 (unstable): + +* slots and signal: These should now be declared with the + sigc::slot + and + sigc::signal + syntax, like std::function<>. + Version 2.9/2.10 of libsigc++-2.0 supports both the old and new syntax. + (Murray Cumming) +* sigc::men_fun(): Take the instance by reference only. + 2.99.1 (unstable): This is the first release of the libsigc++-3.0 API, which installs in parallel @@ -5,6 +16,8 @@ with libsigc++-2.0. The API is not significantly different, but the implementation is far simpler, using variadic templates instead of generating C++ code from .m4 files. +libsigc++-3.0 requires a compiler with C++14 support. + 2.7.1 (unstable): diff --git a/README b/README index d5c52b2..26a72e5 100644 --- a/README +++ b/README @@ -39,11 +39,8 @@ Overview of the distribution: examples/ examples of various signal functions sigc++/ source for library - sigc++/macros/ .m4 files used to auto-generate source files sigc++/functors/ source for library (various functors) - sigc++/functors/macros/ .m4 files used to auto-generate source files sigc++/adaptors/ source for library (various adaptors) - sigc++/adaptors/macros/ .m4 files used to auto-generate source files build/ auxiliary files for building @@ -54,8 +51,4 @@ Overview of the distribution: Compatibility: - Compatible compilers must support C++11, such as the decltype() specifier. - - All releases are tested with the gcc (g++) compiler. - Release 2.3.2 has been tested with gcc 4.8.2, clang 3.4 and MS Visual C++ 2010. - Release 2.5.1 has been tested with gcc 4.9.2, clang 3.6.0 and MS Visual C++ 2013. + Compatible compilers must support C++14, such as the decltype(auto) specifier. diff --git a/cmake/Makefile.am b/cmake/Makefile.am new file mode 100644 index 0000000..7cf9021 --- /dev/null +++ b/cmake/Makefile.am @@ -0,0 +1,17 @@ +## Copyright 2016, The libsigc++ Development Team +## +## This library is free software; you can redistribute it and/or +## modify it under the terms of the GNU Lesser General Public +## License as published by the Free Software Foundation; either +## version 2.1 of the License, or (at your option) any later version. +## +## This library is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## Lesser General Public License for more details. +## +## You should have received a copy of the GNU Lesser General Public +## License along with this library; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +dist_noinst_DATA = sigc++-3Config.cmake.in diff --git a/cmake/Makefile.in b/cmake/Makefile.in new file mode 100644 index 0000000..0fdd712 --- /dev/null +++ b/cmake/Makefile.in @@ -0,0 +1,466 @@ +# Makefile.in generated by automake 1.15 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2014 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = cmake +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/build/libtool.m4 \ + $(top_srcdir)/build/ltoptions.m4 \ + $(top_srcdir)/build/ltsugar.m4 \ + $(top_srcdir)/build/ltversion.m4 \ + $(top_srcdir)/build/lt~obsolete.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(dist_noinst_DATA) \ + $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h \ + $(top_builddir)/sigc++config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(dist_noinst_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ACLOCAL_FLAGS = @ACLOCAL_FLAGS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AS = @AS@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DOCINSTALL_FLAGS = @DOCINSTALL_FLAGS@ +DOT = @DOT@ +DOXYGEN = @DOXYGEN@ +DOXYGEN_TAGFILES = @DOXYGEN_TAGFILES@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GREP = @GREP@ +HAVE_CXX14 = @HAVE_CXX14@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +M4 = @M4@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MMDOCTOOLDIR = @MMDOCTOOLDIR@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PERL = @PERL@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SIGCXX_API_VERSION = @SIGCXX_API_VERSION@ +SIGCXX_MAJOR_VERSION = @SIGCXX_MAJOR_VERSION@ +SIGCXX_MICRO_VERSION = @SIGCXX_MICRO_VERSION@ +SIGCXX_MINOR_VERSION = @SIGCXX_MINOR_VERSION@ +SIGCXX_MODULE_NAME = @SIGCXX_MODULE_NAME@ +SIGCXX_VERSION = @SIGCXX_VERSION@ +SIGC_WXXFLAGS = @SIGC_WXXFLAGS@ +STRIP = @STRIP@ +VERSION = @VERSION@ +XSLTPROC = @XSLTPROC@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +dist_noinst_DATA = sigc++-3Config.cmake.in +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu cmake/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu cmake/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + cscopelist-am ctags-am distclean distclean-generic \ + distclean-libtool distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags-am uninstall uninstall-am + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/cmake/sigc++-3Config.cmake.in b/cmake/sigc++-3Config.cmake.in new file mode 100644 index 0000000..145c450 --- /dev/null +++ b/cmake/sigc++-3Config.cmake.in @@ -0,0 +1,5 @@ +@PACKAGE_INIT@ + +include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake") +include_directories("@LIBSIGCXX_INCLUDE_DIR@") +check_required_components("@PROJECT_NAME@") \ No newline at end of file diff --git a/cmake_uninstall.cmake.in b/cmake_uninstall.cmake.in new file mode 100644 index 0000000..2037e36 --- /dev/null +++ b/cmake_uninstall.cmake.in @@ -0,0 +1,21 @@ +if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") + message(FATAL_ERROR "Cannot find install manifest: @CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") +endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") + +file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files) +string(REGEX REPLACE "\n" ";" files "${files}") +foreach(file ${files}) + message(STATUS "Uninstalling $ENV{DESTDIR}${file}") + if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") + exec_program( + "@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\"" + OUTPUT_VARIABLE rm_out + RETURN_VALUE rm_retval + ) + if(NOT "${rm_retval}" STREQUAL 0) + message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}") + endif(NOT "${rm_retval}" STREQUAL 0) + else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") + message(STATUS "File $ENV{DESTDIR}${file} does not exist.") + endif(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") +endforeach(file) diff --git a/configure b/configure index b661dfa..b592ad1 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libsigc++ 2.99.1. +# Generated by GNU Autoconf 2.69 for libsigc++ 2.99.2. # # Report bugs to . # @@ -591,8 +591,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libsigc++' PACKAGE_TARNAME='libsigc++' -PACKAGE_VERSION='2.99.1' -PACKAGE_STRING='libsigc++ 2.99.1' +PACKAGE_VERSION='2.99.2' +PACKAGE_STRING='libsigc++ 2.99.2' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B' PACKAGE_URL='http://libsigc.sourceforge.net/' @@ -1366,7 +1366,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures libsigc++ 2.99.1 to adapt to many kinds of systems. +\`configure' configures libsigc++ 2.99.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1436,7 +1436,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libsigc++ 2.99.1:";; + short | recursive ) echo "Configuration of libsigc++ 2.99.2:";; esac cat <<\_ACEOF @@ -1567,7 +1567,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libsigc++ configure 2.99.1 +libsigc++ configure 2.99.2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1966,7 +1966,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libsigc++ $as_me 2.99.1, which was +It was created by libsigc++ $as_me 2.99.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2836,7 +2836,7 @@ fi # Define the identity of the package. PACKAGE='libsigc++' - VERSION='2.99.1' + VERSION='2.99.2' # Some tools Automake needs. @@ -3127,7 +3127,7 @@ fi SIGCXX_MODULE_NAME='sigc++-3.0' -SIGCXX_VERSION='2.99.1' +SIGCXX_VERSION='2.99.2' SIGCXX_API_VERSION='3.0' @@ -3141,10 +3141,10 @@ SIGCXX_MINOR_VERSION=99 $as_echo "#define SIGCXX_MINOR_VERSION 99" >>confdefs.h -SIGCXX_MICRO_VERSION=1 +SIGCXX_MICRO_VERSION=2 -$as_echo "#define SIGCXX_MICRO_VERSION 1" >>confdefs.h +$as_echo "#define SIGCXX_MICRO_VERSION 2" >>confdefs.h MMDOCTOOLDIR='${top_srcdir}/docs' @@ -17160,7 +17160,7 @@ $as_echo "#define SIGCXX_DISABLE_DEPRECATED 1" >>confdefs.h fi -ac_config_files="$ac_config_files Makefile ${SIGCXX_MODULE_NAME}.pc:sigc++.pc.in ${SIGCXX_MODULE_NAME}-uninstalled.pc:sigc++-uninstalled.pc.in sigc++/Makefile examples/Makefile tests/Makefile docs/Makefile docs/reference/Doxyfile MSVC_Net2013/sigc.rc" +ac_config_files="$ac_config_files Makefile ${SIGCXX_MODULE_NAME}.pc:sigc++.pc.in ${SIGCXX_MODULE_NAME}-uninstalled.pc:sigc++-uninstalled.pc.in cmake/Makefile sigc++/Makefile examples/Makefile tests/Makefile docs/Makefile docs/reference/Doxyfile MSVC_Net2013/sigc.rc" # Copy the generated configuration headers into the MSVC project directories. @@ -17716,7 +17716,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libsigc++ $as_me 2.99.1, which was +This file was extended by libsigc++ $as_me 2.99.2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17783,7 +17783,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -libsigc++ config.status 2.99.1 +libsigc++ config.status 2.99.2 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -18296,6 +18296,7 @@ do "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "${SIGCXX_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${SIGCXX_MODULE_NAME}.pc:sigc++.pc.in" ;; "${SIGCXX_MODULE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${SIGCXX_MODULE_NAME}-uninstalled.pc:sigc++-uninstalled.pc.in" ;; + "cmake/Makefile") CONFIG_FILES="$CONFIG_FILES cmake/Makefile" ;; "sigc++/Makefile") CONFIG_FILES="$CONFIG_FILES sigc++/Makefile" ;; "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; diff --git a/configure.ac b/configure.ac index c6cb2c4..91808ad 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,7 @@ ## You should have received a copy of the GNU Lesser General Public License ## along with this library. If not, see . -AC_INIT([libsigc++], [2.99.1], +AC_INIT([libsigc++], [2.99.2], [http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B], [libsigc++], [http://libsigc.sourceforge.net/]) AC_PREREQ([2.59]) @@ -65,6 +65,7 @@ MM_ARG_DISABLE_DEPRECATED_API([SIGCXX]) AC_CONFIG_FILES([Makefile ${SIGCXX_MODULE_NAME}.pc:sigc++.pc.in ${SIGCXX_MODULE_NAME}-uninstalled.pc:sigc++-uninstalled.pc.in + cmake/Makefile sigc++/Makefile examples/Makefile tests/Makefile diff --git a/docs/manual/html/ch01.html b/docs/manual/html/ch01.html index 85cd5dc..0ae70c0 100644 --- a/docs/manual/html/ch01.html +++ b/docs/manual/html/ch01.html @@ -1,4 +1,4 @@ -Chapter 1. Introduction

Chapter 1. Introduction

Table of Contents

Motivation

Motivation

There are many situations in which it is desirable to decouple code that +Chapter 1. Introduction

Chapter 1. Introduction

Table of Contents

Motivation

Motivation

There are many situations in which it is desirable to decouple code that detects an event, and the code that deals with it. This is especially common in GUI programming, where a toolkit might provide user interface elements such as clickable buttons but, being a generic toolkit, doesn't know how an individual diff --git a/docs/manual/html/ch02.html b/docs/manual/html/ch02.html index 191cc63..af41cc7 100644 --- a/docs/manual/html/ch02.html +++ b/docs/manual/html/ch02.html @@ -1,4 +1,4 @@ -Chapter 2. Connecting your code to signals

Chapter 2. Connecting your code to signals

A simple example

So to get some experience, lets look at a simple example...

Lets say you and I are writing an application which informs the user when +Chapter 2. Connecting your code to signals

Chapter 2. Connecting your code to signals

A simple example

So to get some experience, lets look at a simple example...

Lets say you and I are writing an application which informs the user when aliens land in the car park. To keep the design nice and clean, and allow for maximum portability to different interfaces, we decide to use libsigc++ to split the project in two parts.

I will write the AlienDetector class, and you will write the code to inform diff --git a/docs/manual/html/ch02s02.html b/docs/manual/html/ch02s02.html index 7afb915..1107e2a 100644 --- a/docs/manual/html/ch02s02.html +++ b/docs/manual/html/ch02s02.html @@ -1,4 +1,4 @@ -Using a member function

Using a member function

Suppose you found a more sophisticated alien alerter class on the web, +Using a member function

Using a member function

Suppose you found a more sophisticated alien alerter class on the web, such as this:

 class AlienAlerter : public sigc::trackable
 {
diff --git a/docs/manual/html/ch02s03.html b/docs/manual/html/ch02s03.html
index de34b6b..a77dd13 100644
--- a/docs/manual/html/ch02s03.html
+++ b/docs/manual/html/ch02s03.html
@@ -1,4 +1,4 @@
-Signals with parameters

Signals with parameters

Functions taking no parameters and returning void are quite useful, +Signals with parameters

Signals with parameters

Functions taking no parameters and returning void are quite useful, especially when they're members of classes that can store unlimited amounts of safely typed data, but they're not sufficient for everything.

What if aliens don't land in the carpark, but somewhere else? Let's modify the example so that the callback function takes a std::string with the location diff --git a/docs/manual/html/ch02s04.html b/docs/manual/html/ch02s04.html index c2c791e..52e9847 100644 --- a/docs/manual/html/ch02s04.html +++ b/docs/manual/html/ch02s04.html @@ -1,3 +1,3 @@ -Disconnecting

Disconnecting

If you decide you no longer want your code to be called whenever a signal is +Disconnecting

Disconnecting

If you decide you no longer want your code to be called whenever a signal is emitted, you must remember the return value of connect(), which we've been ignoring until now.

connect() returns a sigc::connection object, which has a disconnect() member method. This does just what you think it does.

diff --git a/docs/manual/html/ch03.html b/docs/manual/html/ch03.html index 4e171d7..1321106 100644 --- a/docs/manual/html/ch03.html +++ b/docs/manual/html/ch03.html @@ -1,4 +1,4 @@ -Chapter 3. Writing your own signals

Chapter 3. Writing your own signals

Quick recap

If all you want to do is use gtkmm, and connect your functionality to its +Chapter 3. Writing your own signals

Chapter 3. Writing your own signals

Quick recap

If all you want to do is use gtkmm, and connect your functionality to its signals, you can probably stop reading here.

You might benefit from reading on anyway though, as this section is going to be quite simple, and the 'Rebinding' technique from the next section is occasionally useful.

We've already covered the way the types of signals are made up, but lets diff --git a/docs/manual/html/ch03s02.html b/docs/manual/html/ch03s02.html index 3961cfd..e75443d 100644 --- a/docs/manual/html/ch03s02.html +++ b/docs/manual/html/ch03s02.html @@ -1,4 +1,4 @@ -What about return values?

What about return values?

If you only ever have one slot connected to a signal, or if you only care +What about return values?

What about return values?

If you only ever have one slot connected to a signal, or if you only care about the return value of the last registered one, it's quite straightforward:

 sigc::signal<int> somesignal;
 int a_return_value;
diff --git a/docs/manual/html/ch04.html b/docs/manual/html/ch04.html
index e21a247..3d61aa3 100644
--- a/docs/manual/html/ch04.html
+++ b/docs/manual/html/ch04.html
@@ -1,4 +1,4 @@
-Chapter 4. Advanced topics

Chapter 4. Advanced topics

Table of Contents

Rebinding
Retyping

Rebinding

Suppose you already have a function that you want to be called when a +Chapter 4. Advanced topics

Chapter 4. Advanced topics

Table of Contents

Rebinding
Retyping

Rebinding

Suppose you already have a function that you want to be called when a signal is emitted, but it takes the wrong argument types. For example, lets try to attach the warn_people(std::string) function to the detected signal from the first example, which didn't supply a location string.

Just trying to connect it with:

diff --git a/docs/manual/html/ch04s02.html b/docs/manual/html/ch04s02.html
index 84955db..6ed92ae 100644
--- a/docs/manual/html/ch04s02.html
+++ b/docs/manual/html/ch04s02.html
@@ -1,4 +1,4 @@
-Retyping

Retyping

A similar topic is retyping. Perhaps you have a signal that takes an int, but +Retyping

Retyping

A similar topic is retyping. Perhaps you have a signal that takes an int, but you want to connect a function that takes a double.

This can be achieved with the sigc::retype template. retype has template arguments just like sigc::signal - return value, signal types.

It's a function template that takes a sigc::slot, and returns a sigc::slot. eg.

 void dostuff(double foo)
diff --git a/docs/manual/html/index.html b/docs/manual/html/index.html
index 4cdedf9..a3efe79 100644
--- a/docs/manual/html/index.html
+++ b/docs/manual/html/index.html
@@ -1 +1 @@
-libsigc++

libsigc++

Ainsley Pereira

September 2002. Updated January 2004 and March 2016 by Murray Cumming

Abstract

libsigc++ is a C++ template library implementing typesafe callbacks. This is an intro to libsigc++.


+libsigc++

libsigc++

Ainsley Pereira

September 2002. Updated January 2004 and March 2016 by Murray Cumming

Abstract

libsigc++ is a C++ template library implementing typesafe callbacks. This is an intro to libsigc++.


diff --git a/docs/reference/html/annotated.html b/docs/reference/html/annotated.html index c5d8529..981dbe6 100644 --- a/docs/reference/html/annotated.html +++ b/docs/reference/html/annotated.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -79,57 +79,40 @@  Climit_referenceA limit_reference<Foo> object stores a reference (Foo&), but makes sure that, if Foo inherits from sigc::trackable, then visit_each<>() will "limit" itself to the sigc::trackable reference instead of the derived reference  Climit_reference< T_type, true >Limit_reference object for a class that derives from trackable  Cmem_functor - Cmember_method_class - Cmember_method_class< T_result(T_obj::*)(T_arg...) const > - Cmember_method_class< T_result(T_obj::*)(T_arg...) const volatile > - Cmember_method_class< T_result(T_obj::*)(T_arg...) volatile > - Cmember_method_class< T_result(T_obj::*)(T_arg...)> - Cmember_method_is_const - Cmember_method_is_const< T_result(T_obj::*)(T_arg...) const > - Cmember_method_is_const< T_result(T_obj::*)(T_arg...) const volatile > - Cmember_method_is_const< T_result(T_obj::*)(T_arg...) volatile > - Cmember_method_is_const< T_result(T_obj::*)(T_arg...)> - Cmember_method_is_volatile - Cmember_method_is_volatile< T_result(T_obj::*)(T_arg...) const > - Cmember_method_is_volatile< T_result(T_obj::*)(T_arg...) const volatile > - Cmember_method_is_volatile< T_result(T_obj::*)(T_arg...) volatile > - Cmember_method_is_volatile< T_result(T_obj::*)(T_arg...)> - Cmember_method_result - Cmember_method_result< T_result(T_obj::*)(T_arg...) const > - Cmember_method_result< T_result(T_obj::*)(T_arg...) const volatile > - Cmember_method_result< T_result(T_obj::*)(T_arg...) volatile > - Cmember_method_result< T_result(T_obj::*)(T_arg...)> - Cnotifiable - Cpointer_functorPointer_functor wraps existing non-member functions with, or without, arguments - Cretype_functorAdaptor that performs C-style casts on the parameters passed on to the functor - Cretype_return_functorAdaptor that performs a C-style cast on the return value of a functor - Cretype_return_functor< void, T_functor >Adaptor that performs a C-style cast on the return value of a functor - CsignalConvenience wrapper for the numbered sigc::signal# templates - CaccumulatedConvenience wrapper for the numbered sigc::signal# templates - Csignal_baseBase class for the sigc::signal# templates - Csignal_with_accumulatorSignal declaration - CslotConverts an arbitrary functor to a unified type which is opaque - Cslot_baseBase type for slots - Cslot_const_iteratorSTL-style const iterator for slot_list - Cslot_iteratorSTL-style iterator for slot_list - Cslot_listSTL-style list interface for sigc::signal# - Ctrack_obj_functorTrack_obj_functor wraps a functor and stores a reference to a trackable object - CtrackableBase class for objects with auto-disconnection - Ctype_trait - Ctype_trait< const T_type& > - Ctype_trait< T_type& > - Ctype_trait< T_type[N]> - Ctype_trait< void > - Cunwrap_reference - Cunwrap_reference< std::reference_wrapper< const T_type > > - Cunwrap_reference< std::reference_wrapper< T_type > > - CvisitorSigc::visitor<T_functor>::do_visit_each() performs a functor on each of the targets of a functor + Cnotifiable + Cpointer_functorPointer_functor wraps existing non-member functions with, or without, arguments + Cpointer_functor< T_return(T_args...)> + Cretype_functorAdaptor that performs C-style casts on the parameters passed on to the functor + Cretype_return_functorAdaptor that performs a C-style cast on the return value of a functor + Cretype_return_functor< void, T_functor >Adaptor that performs a C-style cast on the return value of a functor + CsignalSignal can be used to connect() slots that are invoked during subsequent calls to emit() + Csignal< T_return(T_arg...)> + CaccumulatedLike sigc::signal but the additional template parameter T_accumulator defines the accumulator type that should be used + Csignal_baseBase class for the sigc::signal# templates + Csignal_with_accumulatorSignal declaration + CslotConverts an arbitrary functor to a unified type which is opaque + Cslot< T_return(T_arg...)> + Cslot_baseBase type for slots + Cslot_const_iteratorSTL-style const iterator for slot_list + Cslot_iteratorSTL-style iterator for slot_list + Cslot_listSTL-style list interface for sigc::signal# + Ctrack_obj_functorTrack_obj_functor wraps a functor and stores a reference to a trackable object + CtrackableBase class for objects with auto-disconnection + Ctype_trait + Ctype_trait< const T_type& > + Ctype_trait< T_type& > + Ctype_trait< T_type[N]> + Ctype_trait< void > + Cunwrap_reference + Cunwrap_reference< std::reference_wrapper< const T_type > > + Cunwrap_reference< std::reference_wrapper< T_type > > + CvisitorSigc::visitor<T_functor>::do_visit_each() performs a functor on each of the targets of a functor
diff --git a/docs/reference/html/classes.html b/docs/reference/html/classes.html index a8c8a53..0401ac1 100644 --- a/docs/reference/html/classes.html +++ b/docs/reference/html/classes.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -62,7 +62,7 @@ adaptor_trait< T_functor, false > (sigc)    adaptor_trait< T_functor, true > (sigc)    adapts (sigc)    -signal::accumulated (sigc)    +signal< T_return(T_arg...)>::accumulated (sigc)   
  b  
@@ -103,26 +103,6 @@ mem_functor (sigc)    -member_method_class (sigc)    -member_method_class< T_result(T_obj::*)(T_arg...) const > (sigc)    -member_method_class< T_result(T_obj::*)(T_arg...) const volatile > (sigc)    -member_method_class< T_result(T_obj::*)(T_arg...) volatile > (sigc)    -member_method_class< T_result(T_obj::*)(T_arg...)> (sigc)    -member_method_is_const (sigc)    -member_method_is_const< T_result(T_obj::*)(T_arg...) const > (sigc)    -member_method_is_const< T_result(T_obj::*)(T_arg...) const volatile > (sigc)    -member_method_is_const< T_result(T_obj::*)(T_arg...) volatile > (sigc)    -member_method_is_const< T_result(T_obj::*)(T_arg...)> (sigc)    -member_method_is_volatile (sigc)    -member_method_is_volatile< T_result(T_obj::*)(T_arg...) const > (sigc)    -member_method_is_volatile< T_result(T_obj::*)(T_arg...) const volatile > (sigc)    -member_method_is_volatile< T_result(T_obj::*)(T_arg...) volatile > (sigc)    -member_method_is_volatile< T_result(T_obj::*)(T_arg...)> (sigc)    -member_method_result (sigc)    -member_method_result< T_result(T_obj::*)(T_arg...) const > (sigc)    -member_method_result< T_result(T_obj::*)(T_arg...) const volatile > (sigc)    -member_method_result< T_result(T_obj::*)(T_arg...) volatile > (sigc)    -member_method_result< T_result(T_obj::*)(T_arg...)> (sigc)   
  n  
@@ -131,6 +111,7 @@ pointer_functor (sigc)    +pointer_functor< T_return(T_args...)> (sigc)   
  r  
@@ -141,9 +122,11 @@ signal (sigc)    +signal< T_return(T_arg...)> (sigc)    signal_base (sigc)    signal_with_accumulator (sigc)    slot (sigc)    +slot< T_return(T_arg...)> (sigc)    slot_base (sigc)    slot_const_iterator (sigc)    slot_iterator (sigc)    @@ -174,7 +157,7 @@
diff --git a/docs/reference/html/classsigc_1_1bound__argument-members.html b/docs/reference/html/classsigc_1_1bound__argument-members.html index ecacb6a..249352a 100644 --- a/docs/reference/html/classsigc_1_1bound__argument-members.html +++ b/docs/reference/html/classsigc_1_1bound__argument-members.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -64,7 +64,7 @@
diff --git a/docs/reference/html/classsigc_1_1bound__argument.html b/docs/reference/html/classsigc_1_1bound__argument.html index ea475fd..5ae0242 100644 --- a/docs/reference/html/classsigc_1_1bound__argument.html +++ b/docs/reference/html/classsigc_1_1bound__argument.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -181,7 +181,7 @@ template <class T_type>
diff --git a/docs/reference/html/classsigc_1_1bound__argument_3_01std_1_1reference__wrapper_3_01T__wrapped_01_4_01_4-members.html b/docs/reference/html/classsigc_1_1bound__argument_3_01std_1_1reference__wrapper_3_01T__wrapped_01_4_01_4-members.html index 2f772aa..fb834c6 100644 --- a/docs/reference/html/classsigc_1_1bound__argument_3_01std_1_1reference__wrapper_3_01T__wrapped_01_4_01_4-members.html +++ b/docs/reference/html/classsigc_1_1bound__argument_3_01std_1_1reference__wrapper_3_01T__wrapped_01_4_01_4-members.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -64,7 +64,7 @@
diff --git a/docs/reference/html/classsigc_1_1bound__argument_3_01std_1_1reference__wrapper_3_01T__wrapped_01_4_01_4.html b/docs/reference/html/classsigc_1_1bound__argument_3_01std_1_1reference__wrapper_3_01T__wrapped_01_4_01_4.html index b527715..2589530 100644 --- a/docs/reference/html/classsigc_1_1bound__argument_3_01std_1_1reference__wrapper_3_01T__wrapped_01_4_01_4.html +++ b/docs/reference/html/classsigc_1_1bound__argument_3_01std_1_1reference__wrapper_3_01T__wrapped_01_4_01_4.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -177,7 +177,7 @@ template <class T_wrapped >
diff --git a/docs/reference/html/classsigc_1_1bound__argument_3_01std_1_1reference__wrapper_3_01const_01T__wrapped_01_4_01_4.html b/docs/reference/html/classsigc_1_1bound__argument_3_01std_1_1reference__wrapper_3_01const_01T__wrapped_01_4_01_4.html index 2a94975..1eebdb8 100644 --- a/docs/reference/html/classsigc_1_1bound__argument_3_01std_1_1reference__wrapper_3_01const_01T__wrapped_01_4_01_4.html +++ b/docs/reference/html/classsigc_1_1bound__argument_3_01std_1_1reference__wrapper_3_01const_01T__wrapped_01_4_01_4.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -179,7 +179,7 @@ template <class T_wrapped >
diff --git a/docs/reference/html/classsigc_1_1bound__mem__functor-members.html b/docs/reference/html/classsigc_1_1bound__mem__functor-members.html index d4f2e39..3627a1d 100644 --- a/docs/reference/html/classsigc_1_1bound__mem__functor-members.html +++ b/docs/reference/html/classsigc_1_1bound__mem__functor-members.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -64,17 +64,16 @@ mem_functor()sigc::mem_functor< T_func, T_arg...>inlineprivate mem_functor(function_type _A_func)sigc::mem_functor< T_func, T_arg...>inlineexplicitprivate obj_sigc::bound_mem_functor< T_func, T_arg > - obj_type_with_modifier typedefsigc::bound_mem_functor< T_func, T_arg > + obj_type_with_modifier typedefsigc::bound_mem_functor< T_func, T_arg > object_type typedefsigc::bound_mem_functor< T_func, T_arg > operator()(type_trait_take_t< T_arg >..._A_a) const sigc::bound_mem_functor< T_func, T_arg >inline - mem_functor< T_func, T_arg...>::operator()(obj_type_with_modifier* _A_obj, type_trait_take_t< T_arg >..._A_a) constsigc::mem_functor< T_func, T_arg...>inlineprivate - mem_functor< T_func, T_arg...>::operator()(obj_type_with_modifier& _A_obj, type_trait_take_t< T_arg >..._A_a) constsigc::mem_functor< T_func, T_arg...>inlineprivate - result_type typedefsigc::bound_mem_functor< T_func, T_arg > - T_limit_reference typedefsigc::bound_mem_functor< T_func, T_arg > + mem_functor< T_func, T_arg...>::operator()(obj_type_with_modifier& _A_obj, type_trait_take_t< T_arg >..._A_a) constsigc::mem_functor< T_func, T_arg...>inlineprivate + result_type typedefsigc::bound_mem_functor< T_func, T_arg > + T_limit_reference typedefsigc::bound_mem_functor< T_func, T_arg >
diff --git a/docs/reference/html/classsigc_1_1bound__mem__functor.html b/docs/reference/html/classsigc_1_1bound__mem__functor.html index dc90666..660d1a7 100644 --- a/docs/reference/html/classsigc_1_1bound__mem__functor.html +++ b/docs/reference/html/classsigc_1_1bound__mem__functor.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -74,18 +74,18 @@ Inheritance diagram for sigc::bound_mem_functor< T_func, T_arg >:
Public Types using function_type = typename base_type::function_type   -using obj_type_with_modifier = typename std::conditional_t< member_method_is_const< T_func >::value, const object_type, object_type > -  -using object_type = typename base_type::object_type +using obj_type_with_modifier = typename std::conditional_t< internal::member_method_is_const< T_func >::value, const object_type, object_type > +  +using object_type = typename base_type::object_type   -using result_type = typename base_type::result_type +using result_type = typename base_type::result_type   -using T_limit_reference = typename std::conditional_t< member_method_is_const< T_func >::value, limit_reference< const object_type >, limit_reference< object_type >> -  +using T_limit_reference = typename std::conditional_t< internal::member_method_is_const< T_func >::value, limit_reference< const object_type >, limit_reference< object_type >> +  - + @@ -94,7 +94,7 @@ Public Member Functions

Public Member Functions

 bound_mem_functor (obj_type_with_modifier& _A_obj, function_type _A_func)
 bound_mem_functor (obj_type_with_modifier& _A_obj, function_type _A_func)
 Constructs a bound_mem_functor object that wraps the passed method. More...
 
decltype(auto) operator() (type_trait_take_t< T_arg >..._A_a) const
- +

Public Attributes

T_limit_reference obj_
T_limit_reference obj_
 

Member Typedef Documentation

@@ -112,14 +112,14 @@ template <class T_func , class... T_arg>
- +
template <class T_func , class... T_arg>
- +
using sigc::bound_mem_functor< T_func, T_arg >::obj_type_with_modifier = typename std::conditional_t< member_method_is_const<T_func>::value, const object_type, object_type>using sigc::bound_mem_functor< T_func, T_arg >::obj_type_with_modifier = typename std::conditional_t< internal::member_method_is_const<T_func>::value, const object_type, object_type>
@@ -133,7 +133,7 @@ template <class T_func , class... T_arg>
template <class T_func , class... T_arg>
- +
using sigc::bound_mem_functor< T_func, T_arg >::object_type = typename base_type::object_typeusing sigc::bound_mem_functor< T_func, T_arg >::object_type = typename base_type::object_type
@@ -147,21 +147,21 @@ template <class T_func , class... T_arg>
template <class T_func , class... T_arg>
- +
using sigc::bound_mem_functor< T_func, T_arg >::result_type = typename base_type::result_typeusing sigc::bound_mem_functor< T_func, T_arg >::result_type = typename base_type::result_type
- +
template <class T_func , class... T_arg>
- +
using sigc::bound_mem_functor< T_func, T_arg >::T_limit_reference = typename std::conditional_t< member_method_is_const<T_func>::value, limit_reference<const object_type>, limit_reference<object_type>>using sigc::bound_mem_functor< T_func, T_arg >::T_limit_reference = typename std::conditional_t< internal::member_method_is_const<T_func>::value, limit_reference<const object_type>, limit_reference<object_type>>
@@ -181,7 +181,7 @@ template <class T_func , class... T_arg>
sigc::bound_mem_functor< T_func, T_arg >::bound_mem_functor ( - obj_type_with_modifier&  + obj_type_with_modifier_A_obj, @@ -258,7 +258,7 @@ template <class T_func , class... T_arg>
template <class T_func , class... T_arg>
- +
T_limit_reference sigc::bound_mem_functor< T_func, T_arg >::obj_T_limit_reference sigc::bound_mem_functor< T_func, T_arg >::obj_
@@ -268,7 +268,7 @@ template <class T_func , class... T_arg>
diff --git a/docs/reference/html/classsigc_1_1can__deduce__result__type__with__decltype-members.html b/docs/reference/html/classsigc_1_1can__deduce__result__type__with__decltype-members.html index 71ce540..fcfb9fc 100644 --- a/docs/reference/html/classsigc_1_1can__deduce__result__type__with__decltype-members.html +++ b/docs/reference/html/classsigc_1_1can__deduce__result__type__with__decltype-members.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -62,7 +62,7 @@
diff --git a/docs/reference/html/classsigc_1_1can__deduce__result__type__with__decltype.html b/docs/reference/html/classsigc_1_1can__deduce__result__type__with__decltype.html index 5e50e2c..9d16555 100644 --- a/docs/reference/html/classsigc_1_1can__deduce__result__type__with__decltype.html +++ b/docs/reference/html/classsigc_1_1can__deduce__result__type__with__decltype.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -101,7 +101,7 @@ template <typename T_functor >
diff --git a/docs/reference/html/classsigc_1_1limit__reference-members.html b/docs/reference/html/classsigc_1_1limit__reference-members.html index dd61343..2caf476 100644 --- a/docs/reference/html/classsigc_1_1limit__reference-members.html +++ b/docs/reference/html/classsigc_1_1limit__reference-members.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -65,7 +65,7 @@ diff --git a/docs/reference/html/classsigc_1_1limit__reference.html b/docs/reference/html/classsigc_1_1limit__reference.html index 18b93fa..27323f8 100644 --- a/docs/reference/html/classsigc_1_1limit__reference.html +++ b/docs/reference/html/classsigc_1_1limit__reference.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -204,7 +204,7 @@ template <class T_type, bool I_derives_trackable = std::is_base_of<trackab diff --git a/docs/reference/html/classsigc_1_1limit__reference_3_01T__type_00_01true_01_4-members.html b/docs/reference/html/classsigc_1_1limit__reference_3_01T__type_00_01true_01_4-members.html index 189066a..aa79feb 100644 --- a/docs/reference/html/classsigc_1_1limit__reference_3_01T__type_00_01true_01_4-members.html +++ b/docs/reference/html/classsigc_1_1limit__reference_3_01T__type_00_01true_01_4-members.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -65,7 +65,7 @@ diff --git a/docs/reference/html/classsigc_1_1limit__reference_3_01T__type_00_01true_01_4.html b/docs/reference/html/classsigc_1_1limit__reference_3_01T__type_00_01true_01_4.html index 82169db..7349900 100644 --- a/docs/reference/html/classsigc_1_1limit__reference_3_01T__type_00_01true_01_4.html +++ b/docs/reference/html/classsigc_1_1limit__reference_3_01T__type_00_01true_01_4.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -200,7 +200,7 @@ template <class T_type > diff --git a/docs/reference/html/classsigc_1_1mem__functor-members.html b/docs/reference/html/classsigc_1_1mem__functor-members.html index 9cbe8e4..bf246d5 100644 --- a/docs/reference/html/classsigc_1_1mem__functor-members.html +++ b/docs/reference/html/classsigc_1_1mem__functor-members.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -62,15 +62,14 @@ function_type typedefsigc::mem_functor< T_func, T_arg > mem_functor()sigc::mem_functor< T_func, T_arg >inline mem_functor(function_type _A_func)sigc::mem_functor< T_func, T_arg >inlineexplicit - obj_type_with_modifier typedefsigc::mem_functor< T_func, T_arg > - object_type typedefsigc::mem_functor< T_func, T_arg > - operator()(obj_type_with_modifier* _A_obj, type_trait_take_t< T_arg >..._A_a) const sigc::mem_functor< T_func, T_arg >inline - operator()(obj_type_with_modifier& _A_obj, type_trait_take_t< T_arg >..._A_a) const sigc::mem_functor< T_func, T_arg >inline - result_type typedefsigc::mem_functor< T_func, T_arg > + obj_type_with_modifier typedefsigc::mem_functor< T_func, T_arg > + object_type typedefsigc::mem_functor< T_func, T_arg > + operator()(obj_type_with_modifier& _A_obj, type_trait_take_t< T_arg >..._A_a) const sigc::mem_functor< T_func, T_arg >inline + result_type typedefsigc::mem_functor< T_func, T_arg > diff --git a/docs/reference/html/classsigc_1_1mem__functor.html b/docs/reference/html/classsigc_1_1mem__functor.html index 1b8418c..80ed57e 100644 --- a/docs/reference/html/classsigc_1_1mem__functor.html +++ b/docs/reference/html/classsigc_1_1mem__functor.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -74,12 +74,12 @@ Inheritance diagram for sigc::mem_functor< T_func, T_arg >: Public Types using function_type = T_func   -using obj_type_with_modifier = typename std::conditional_t< member_method_is_const< T_func >::value, const object_type, object_type > -  -using object_type = typename member_method_class< T_func >::type -  -using result_type = typename member_method_result< T_func >::type -  +using obj_type_with_modifier = typename std::conditional_t< internal::member_method_is_const< T_func >::value, const object_type, object_type > +  +using object_type = typename internal::member_method_class< T_func >::type +  +using result_type = typename internal::member_method_result< T_func >::type +  @@ -89,10 +89,7 @@ Public Member Functions - - - - +

Public Member Functions

 mem_functor (function_type _A_func)
 Constructs a mem_functor object that wraps the passed method. More...
 
decltype(auto) operator() (obj_type_with_modifier* _A_obj, type_trait_take_t< T_arg >..._A_a) const
 Execute the wrapped method operating on the passed instance. More...
 
decltype(auto) operator() (obj_type_with_modifier& _A_obj, type_trait_take_t< T_arg >..._A_a) const
decltype(auto) operator() (obj_type_with_modifier& _A_obj, type_trait_take_t< T_arg >..._A_a) const
 Execute the wrapped method operating on the passed instance. More...
 
@@ -116,42 +113,42 @@ template <class T_func, class... T_arg> - +
template <class T_func, class... T_arg>
- +
using sigc::mem_functor< T_func, T_arg >::obj_type_with_modifier = typename std::conditional_t< member_method_is_const<T_func>::value, const object_type, object_type>using sigc::mem_functor< T_func, T_arg >::obj_type_with_modifier = typename std::conditional_t< internal::member_method_is_const<T_func>::value, const object_type, object_type>
- +
template <class T_func, class... T_arg>
- +
using sigc::mem_functor< T_func, T_arg >::object_type = typename member_method_class<T_func>::typeusing sigc::mem_functor< T_func, T_arg >::object_type = typename internal::member_method_class<T_func>::type
- +
template <class T_func, class... T_arg>
- +
using sigc::mem_functor< T_func, T_arg >::result_type = typename member_method_result<T_func>::typeusing sigc::mem_functor< T_func, T_arg >::result_type = typename internal::member_method_result<T_func>::type
@@ -213,7 +210,7 @@ template <class T_func, class... T_arg>

Constructs a mem_functor object that wraps the passed method.

Parameters
- +
_A_funcPointer to method will be invoked from operator()().
_A_funcPointer to method will be invoked from operator()().
@@ -221,52 +218,6 @@ template <class T_func, class... T_arg>

Member Function Documentation

- -
-
-
-template <class T_func, class... T_arg>
- - - - - -
- - - - - - - - - - - - - - - - - - -
decltype(auto) sigc::mem_functor< T_func, T_arg >::operator() (obj_type_with_modifier_A_obj,
type_trait_take_t< T_arg >... _A_a 
) const
-
-inline
-
- -

Execute the wrapped method operating on the passed instance.

-
Parameters
- - - -
_A_objPointer to instance the method should operate on.
_A_a...Argument to be passed on to the method.
-
-
-
Returns
The return value of the method invocation.
- -
-
@@ -279,7 +230,7 @@ template <class T_func, class... T_arg>
decltype(auto) sigc::mem_functor< T_func, T_arg >::operator() ( - obj_type_with_modifier&  + obj_type_with_modifier_A_obj, @@ -339,7 +290,7 @@ template <class T_func, class... T_arg>
diff --git a/docs/reference/html/classsigc_1_1pointer__functor.html b/docs/reference/html/classsigc_1_1pointer__functor.html index 49e52a8..b9f1d69 100644 --- a/docs/reference/html/classsigc_1_1pointer__functor.html +++ b/docs/reference/html/classsigc_1_1pointer__functor.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -51,11 +51,6 @@
-
sigc::pointer_functor< T_return, T_args > Class Template Reference
@@ -65,187 +60,20 @@ More...

#include <sigc++/functors/ptr_fun.h>

-
-Inheritance diagram for sigc::pointer_functor< T_return, T_args >:
-
-
Inheritance graph
- - -
[legend]
- - - - -

-Public Types

using result_type = T_return
 
- - - - - - - - - - -

-Public Member Functions

 pointer_functor ()
 Constructs an invalid functor. More...
 
 pointer_functor (function_type _A_func)
 Constructs a pointer_functor2 object that wraps an existing function. More...
 
T_return operator() (type_trait_take_t< T_args >..._A_a) const
 Execute the wrapped function. More...
 
- - - -

-Protected Attributes

function_type func_ptr_
 

Detailed Description

template<class T_return, class... T_args>
class sigc::pointer_functor< T_return, T_args >

pointer_functor wraps existing non-member functions with, or without, arguments.

-

Use the convenience function ptr_fun() to create an instance of pointer_functor.

+

Use the convenience function ptr_fun() to create an instance of pointer_functor.

The following template arguments are used:

    -
  • T_args... Argument types used in the definition of operator()().
  • -
  • T_return The return type of operator()().
  • +
  • T_args... Argument types used in the definition of operator()().
  • +
  • T_return The return type of operator()().
-

Member Typedef Documentation

- -
-
-
-template <class T_return , class... T_args>
- - - - -
using sigc::pointer_functor< T_return, T_args >::result_type = T_return
-
- -
-
-

Constructor & Destructor Documentation

- -
-
-
-template <class T_return , class... T_args>
- - - - - -
- - - - - - - -
sigc::pointer_functor< T_return, T_args >::pointer_functor ()
-
-inline
-
- -

Constructs an invalid functor.

- -
-
- -
-
-
-template <class T_return , class... T_args>
- - - - - -
- - - - - - - - -
sigc::pointer_functor< T_return, T_args >::pointer_functor (function_type _A_func)
-
-inlineexplicit
-
- -

Constructs a pointer_functor2 object that wraps an existing function.

-
Parameters
- - -
_A_funcPointer to function that will be invoked from operator()().
-
-
- -
-
-

Member Function Documentation

- -
-
-
-template <class T_return , class... T_args>
- - - - - -
- - - - - - - - -
T_return sigc::pointer_functor< T_return, T_args >::operator() (type_trait_take_t< T_args >... _A_a) const
-
-inline
-
- -

Execute the wrapped function.

-
Parameters
- - - -
_A_a1Argument to be passed on to the function.
_A_a2Argument to be passed on to the function.
-
-
-
Returns
The return value of the function invocation.
- -
-
-

Member Data Documentation

- -
-
-
-template <class T_return , class... T_args>
- - - - - -
- - - - -
function_type sigc::pointer_functor< T_return, T_args >::func_ptr_
-
-protected
-
- -
-
- + diff --git a/docs/reference/html/classsigc_1_1pointer__functor-members.html b/docs/reference/html/classsigc_1_1pointer__functor_3_01T__return_07T__args_8_8_8_08_4-members.html similarity index 54% rename from docs/reference/html/classsigc_1_1pointer__functor-members.html rename to docs/reference/html/classsigc_1_1pointer__functor_3_01T__return_07T__args_8_8_8_08_4-members.html index 75eaaa5..7ed4c73 100644 --- a/docs/reference/html/classsigc_1_1pointer__functor-members.html +++ b/docs/reference/html/classsigc_1_1pointer__functor_3_01T__return_07T__args_8_8_8_08_4-members.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -47,26 +47,26 @@
-
sigc::pointer_functor< T_return, T_args > Member List
+
sigc::pointer_functor< T_return(T_args...)> Member List
diff --git a/docs/reference/html/classsigc_1_1pointer__functor_3_01T__return_07T__args_8_8_8_08_4.html b/docs/reference/html/classsigc_1_1pointer__functor_3_01T__return_07T__args_8_8_8_08_4.html new file mode 100644 index 0000000..b07e961 --- /dev/null +++ b/docs/reference/html/classsigc_1_1pointer__functor_3_01T__return_07T__args_8_8_8_08_4.html @@ -0,0 +1,240 @@ + + + + + + +libsigc++: sigc::pointer_functor< T_return(T_args...)> Class Template Reference + + + + + + + +
+
+ + + + + + +
+
libsigc++ +  2.99.2 +
+
+
+ + + + + +
+
+ +
+
sigc::pointer_functor< T_return(T_args...)> Class Template Reference
+
+
+ +

#include <sigc++/functors/ptr_fun.h>

+
+Inheritance diagram for sigc::pointer_functor< T_return(T_args...)>:
+
+
Inheritance graph
+ + +
[legend]
+ + + + +

+Public Types

using result_type = T_return
 
+ + + + + + + + + + +

+Public Member Functions

 pointer_functor ()
 Constructs an invalid functor. More...
 
 pointer_functor (function_type _A_func)
 Constructs a pointer_functor2 object that wraps an existing function. More...
 
T_return operator() (type_trait_take_t< T_args >..._A_a) const
 Execute the wrapped function. More...
 
+ + + +

+Protected Attributes

function_type func_ptr_
 
+

Member Typedef Documentation

+ +
+
+
+template <class T_return , class... T_args>
+ + + + +
using sigc::pointer_functor< T_return(T_args...)>::result_type = T_return
+
+ +
+
+

Constructor & Destructor Documentation

+ +
+
+
+template <class T_return , class... T_args>
+ + + + + +
+ + + + + + + +
sigc::pointer_functor< T_return(T_args...)>::pointer_functor ()
+
+inline
+
+ +

Constructs an invalid functor.

+ +
+
+ +
+
+
+template <class T_return , class... T_args>
+ + + + + +
+ + + + + + + + +
sigc::pointer_functor< T_return(T_args...)>::pointer_functor (function_type _A_func)
+
+inlineexplicit
+
+ +

Constructs a pointer_functor2 object that wraps an existing function.

+
Parameters
+ + +
_A_funcPointer to function that will be invoked from operator()().
+
+
+ +
+
+

Member Function Documentation

+ +
+
+
+template <class T_return , class... T_args>
+ + + + + +
+ + + + + + + + +
T_return sigc::pointer_functor< T_return(T_args...)>::operator() (type_trait_take_t< T_args >... _A_a) const
+
+inline
+
+ +

Execute the wrapped function.

+
Parameters
+ + + +
_A_a1Argument to be passed on to the function.
_A_a2Argument to be passed on to the function.
+
+
+
Returns
The return value of the function invocation.
+ +
+
+

Member Data Documentation

+ +
+
+
+template <class T_return , class... T_args>
+ + + + + +
+ + + + +
function_type sigc::pointer_functor< T_return(T_args...)>::func_ptr_
+
+protected
+
+ +
+
+
+ + + + diff --git a/docs/reference/html/classsigc_1_1pointer__functor_3_01T__return_07T__args_8_8_8_08_4__inherit__graph.png b/docs/reference/html/classsigc_1_1pointer__functor_3_01T__return_07T__args_8_8_8_08_4__inherit__graph.png new file mode 100644 index 0000000..1f10dd2 Binary files /dev/null and b/docs/reference/html/classsigc_1_1pointer__functor_3_01T__return_07T__args_8_8_8_08_4__inherit__graph.png differ diff --git a/docs/reference/html/classsigc_1_1pointer__functor__inherit__graph.png b/docs/reference/html/classsigc_1_1pointer__functor__inherit__graph.png deleted file mode 100644 index 5d0c3d5..0000000 Binary files a/docs/reference/html/classsigc_1_1pointer__functor__inherit__graph.png and /dev/null differ diff --git a/docs/reference/html/classsigc_1_1signal.html b/docs/reference/html/classsigc_1_1signal.html index c1b8a26..847ef35 100644 --- a/docs/reference/html/classsigc_1_1signal.html +++ b/docs/reference/html/classsigc_1_1signal.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -51,363 +51,38 @@
-
sigc::signal< T_return, T_arg > Class Template Reference
-

Convenience wrapper for the numbered sigc::signal# templates. +

signal can be used to connect() slots that are invoked during subsequent calls to emit(). More...

#include <sigc++/signal.h>

-
-Inheritance diagram for sigc::signal< T_return, T_arg >:
-
-
Inheritance graph
- - -
[legend]
- - - - - -

-Classes

class  accumulated
 Convenience wrapper for the numbered sigc::signal# templates. More...
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Types

using accumulator_type = void
 
- Public Types inherited from sigc::signal_with_accumulator< T_return, void, T_arg...>
using const_iterator = typename slot_list_type::const_iterator
 
using const_reverse_iterator = typename slot_list_type::const_reverse_iterator
 
using emitter_type = internal::signal_emit< T_return, void, T_arg...>
 
using iterator = typename slot_list_type::iterator
 
using result_type = typename emitter_type::result_type
 
using reverse_iterator = typename slot_list_type::reverse_iterator
 
using slot_list_type = slot_list< slot_type >
 
using slot_type = slot< T_return, T_arg...>
 
- Public Types inherited from sigc::signal_base
using size_type = std::size_t
 
- Public Types inherited from sigc::trackable
using func_destroy_notify = internal::func_destroy_notify
 
- Public Types inherited from sigc::notifiable
using func_destroy_notify = internal::func_destroy_notify
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 signal ()
 
 signal (const signal& src)
 
 signal (signal&& src)
 
signaloperator= (const signal& src)
 
signaloperator= (signal&& src)
 
- Public Member Functions inherited from sigc::signal_with_accumulator< T_return, void, T_arg...>
 signal_with_accumulator ()
 
 signal_with_accumulator (const signal_with_accumulator& src)
 
 signal_with_accumulator (signal_with_accumulator&& src)
 
iterator connect (const slot_type& slot_)
 Add a slot to the list of slots. More...
 
iterator connect (slot_type&& slot_)
 Add a slot to the list of slots. More...
 
decltype(auto) emit (type_trait_take_t< T_arg >..._A_a) const
 Triggers the emission of the signal. More...
 
decltype(auto) emit_reverse (type_trait_take_t< T_arg >..._A_a) const
 Triggers the emission of the signal in reverse order (see emit()). More...
 
decltype(auto) make_slot () const
 Creates a functor that calls emit() on this signal. More...
 
decltype(auto) operator() (type_trait_take_t< T_arg >..._A_a) const
 Triggers the emission of the signal (see emit()). More...
 
signal_with_accumulatoroperator= (const signal_with_accumulator& src)
 
signal_with_accumulatoroperator= (signal_with_accumulator&& src)
 
slot_list_type slots ()
 Creates an STL-style interface for the signal's list of slots. More...
 
const slot_list_type slots () const
 Creates an STL-style interface for the signal's list of slots. More...
 
- Public Member Functions inherited from sigc::signal_base
 signal_base () noexcept
 
 signal_base (const signal_base& src) noexcept
 
 signal_base (signal_base&& src)
 
 ~signal_base ()
 
void block (bool should_block=true) noexcept
 Sets the blocking state of all slots in the list. More...
 
bool blocked () const noexcept
 Returns whether all slots in the list are blocked. More...
 
void clear ()
 Empties the list of slots. More...
 
bool empty () const noexcept
 Returns whether the list of slots is empty. More...
 
signal_baseoperator= (const signal_base& src)
 
signal_baseoperator= (signal_base&& src)
 
size_type size () const noexcept
 Returns the number of slots in the list. More...
 
void unblock () noexcept
 Unsets the blocking state of all slots in the list. More...
 
- Public Member Functions inherited from sigc::trackable
 trackable () noexcept
 
 trackable (const trackable& src) noexcept
 
 trackable (trackable&& src)
 
 ~trackable ()
 
void add_destroy_notify_callback (notifiable* data, func_destroy_notify func) const
 Add a callback that is executed (notified) when the trackable object is detroyed. More...
 
void notify_callbacks ()
 Execute and remove all previously installed callbacks. More...
 
trackableoperator= (const trackable& src)
 
trackableoperator= (trackable&& src)
 
void remove_destroy_notify_callback (notifiable* data) const
 Remove a callback previously installed with add_destroy_notify_callback(). More...
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Additional Inherited Members

- Protected Types inherited from sigc::signal_base
using iterator_type = internal::signal_impl::iterator_type
 
- Protected Member Functions inherited from sigc::signal_base
iterator_type connect (const slot_base& slot_)
 Adds a slot at the end of the list of slots. More...
 
iterator_type connect (slot_base&& slot_)
 Adds a slot at the end of the list of slots. More...
 
iterator_type erase (iterator_type i)
 Removes the slot at the given position from the list of slots. More...
 
internal::signal_impl* impl () const
 Returns the signal_impl object encapsulating the list of slots. More...
 
iterator_type insert (iterator_type i, const slot_base& slot_)
 Adds a slot at the given position into the list of slots. More...
 
iterator_type insert (iterator_type i, slot_base&& slot_)
 Adds a slot at the given position into the list of slots. More...
 
- Protected Attributes inherited from sigc::signal_base
internal::signal_impl* impl_
 The signal_impl object encapsulating the slot list. More...
 

Detailed Description

template<class T_return, class... T_arg>
class sigc::signal< T_return, T_arg >

-

Convenience wrapper for the numbered sigc::signal# templates.

-

signal can be used to connect() slots that are invoked during subsequent calls to emit(). Any functor or slot can be passed into connect(). It is converted into a slot implicitly.

-

If you want to connect one signal to another, use make_slot() to retrieve a functor that emits the signal when invoked.

-

Be careful if you directly pass one signal into the connect() method of another: a shallow copy of the signal is made and the signal's slots are not disconnected until both the signal and its clone are destroyed, which is probably not what you want!

-

An STL-style list interface for the signal's list of slots can be retrieved with slots(). This interface supports iteration, insertion and removal of slots.

-

The template arguments determine the function signature of the emit() function:

    -
  • T_return The desired return type of the emit() function.* - T_arg Argument types used in the definition of emit().
  • +

    signal can be used to connect() slots that are invoked during subsequent calls to emit().

    +

    Any functor or slot can be passed into connect(). It is converted into a slot implicitly.

    +

    If you want to connect one signal to another, use make_slot() to retrieve a functor that emits the signal when invoked.

    +

    Be careful if you directly pass one signal into the connect() method of another: a shallow copy of the signal is made and the signal's slots are not disconnected until both the signal and its clone are destroyed, which is probably not what you want!

    +

    An STL-style list interface for the signal's list of slots can be retrieved with slots(). This interface supports iteration, insertion and removal of slots.

    +

    The template arguments determine the function signature of the emit() function:

      +
    • T_return The desired return type of the emit() function. * - T_arg Argument types used in the definition of emit().
    -

    To specify an accumulator type the nested class signal::accumulated can be used.

    +

    For instance, to declare a signal whose connected slot returns void and takes two parameters of bool and int:

    To specify an accumulator type the nested class signal::accumulated can be used.

    Example:
    void foo(int) {}
    - -
    sig.emit(19);
    +
    sig.connect(sigc::ptr_fun(&foo));
    +
    sig.emit(19);
    -

Member Typedef Documentation

- -
-
-
-template <class T_return, class... T_arg>
- - - - -
using sigc::signal< T_return, T_arg >::accumulator_type = void
-
- -
-
-

Constructor & Destructor Documentation

- -
-
-
-template <class T_return, class... T_arg>
- - - - - -
- - - - - - - -
sigc::signal< T_return, T_arg >::signal ()
-
-inline
-
- -
-
- -
-
-
-template <class T_return, class... T_arg>
- - - - - -
- - - - - - - - -
sigc::signal< T_return, T_arg >::signal (const signal< T_return, T_arg >& src)
-
-inline
-
- -
-
- -
-
-
-template <class T_return, class... T_arg>
- - - - - -
- - - - - - - - -
sigc::signal< T_return, T_arg >::signal (signal< T_return, T_arg >&& src)
-
-inline
-
- -
-
-

Member Function Documentation

- -
-
-
-template <class T_return, class... T_arg>
- - - - - -
- - - - - - - - -
signal& sigc::signal< T_return, T_arg >::operator= (const signal< T_return, T_arg >& src)
-
-inline
-
- -
-
- -
-
-
-template <class T_return, class... T_arg>
- - - - - -
- - - - - - - - -
signal& sigc::signal< T_return, T_arg >::operator= (signal< T_return, T_arg >&& src)
-
-inline
-
- -
-
-
+ diff --git a/docs/reference/html/classsigc_1_1signal_1_1accumulated__inherit__graph.png b/docs/reference/html/classsigc_1_1signal_1_1accumulated__inherit__graph.png deleted file mode 100644 index 53fa348..0000000 Binary files a/docs/reference/html/classsigc_1_1signal_1_1accumulated__inherit__graph.png and /dev/null differ diff --git a/docs/reference/html/classsigc_1_1signal-members.html b/docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4-members.html similarity index 88% rename from docs/reference/html/classsigc_1_1signal-members.html rename to docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4-members.html index ff6b912..b747640 100644 --- a/docs/reference/html/classsigc_1_1signal-members.html +++ b/docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4-members.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -47,18 +47,18 @@
-
sigc::signal< T_return, T_arg > Member List
+
sigc::signal< T_return(T_arg...)> Member List
-

This is the complete list of members for sigc::signal< T_return, T_arg >, including all inherited members.

+

This is the complete list of members for sigc::signal< T_return(T_arg...)>, including all inherited members.

- + @@ -84,8 +84,8 @@ - - + + @@ -95,9 +95,9 @@ - - - + + + @@ -107,7 +107,7 @@ - + @@ -119,7 +119,7 @@
accumulator_type typedefsigc::signal< T_return, T_arg >
accumulator_type typedefsigc::signal< T_return(T_arg...)>
add_destroy_notify_callback(notifiable* data, func_destroy_notify func) const sigc::trackable
block(bool should_block=true) noexceptsigc::signal_base
blocked() const noexceptsigc::signal_base
make_slot() constsigc::signal_with_accumulator< T_return, void, T_arg...>inline
notify_callbacks()sigc::trackable
operator()(type_trait_take_t< T_arg >..._A_a) constsigc::signal_with_accumulator< T_return, void, T_arg...>inline
operator=(const signal& src)sigc::signal< T_return, T_arg >inline
operator=(signal&& src)sigc::signal< T_return, T_arg >inline
operator=(const signal& src)sigc::signal< T_return(T_arg...)>inline
operator=(signal&& src)sigc::signal< T_return(T_arg...)>inline
signal_with_accumulator< T_return, void, T_arg...>::operator=(const signal_with_accumulator& src)sigc::signal_with_accumulator< T_return, void, T_arg...>inline
signal_with_accumulator< T_return, void, T_arg...>::operator=(signal_with_accumulator&& src)sigc::signal_with_accumulator< T_return, void, T_arg...>inline
sigc::signal_base::operator=(const signal_base& src)sigc::signal_base
remove_destroy_notify_callback(notifiable* data) const sigc::trackable
result_type typedefsigc::signal_with_accumulator< T_return, void, T_arg...>
reverse_iterator typedefsigc::signal_with_accumulator< T_return, void, T_arg...>
signal()sigc::signal< T_return, T_arg >inline
signal(const signal& src)sigc::signal< T_return, T_arg >inline
signal(signal&& src)sigc::signal< T_return, T_arg >inline
signal()sigc::signal< T_return(T_arg...)>inline
signal(const signal& src)sigc::signal< T_return(T_arg...)>inline
signal(signal&& src)sigc::signal< T_return(T_arg...)>inline
signal_base() noexceptsigc::signal_base
signal_base(const signal_base& src) noexceptsigc::signal_base
signal_base(signal_base&& src)sigc::signal_base
size() const noexceptsigc::signal_base
size_type typedefsigc::signal_base
slot_list_type typedefsigc::signal_with_accumulator< T_return, void, T_arg...>
slot_type typedefsigc::signal_with_accumulator< T_return, void, T_arg...>
slot_type typedefsigc::signal_with_accumulator< T_return, void, T_arg...>
slots()sigc::signal_with_accumulator< T_return, void, T_arg...>inline
slots() constsigc::signal_with_accumulator< T_return, void, T_arg...>inline
trackable() noexceptsigc::trackable
diff --git a/docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4.html b/docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4.html new file mode 100644 index 0000000..07e544d --- /dev/null +++ b/docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4.html @@ -0,0 +1,394 @@ + + + + + + +libsigc++: sigc::signal< T_return(T_arg...)> Class Template Reference + + + + + + + +
+
+ + + + + + +
+
libsigc++ +  2.99.2 +
+
+
+ + + + + +
+
+ +
+
sigc::signal< T_return(T_arg...)> Class Template Reference
+
+
+ +

#include <sigc++/signal.h>

+
+Inheritance diagram for sigc::signal< T_return(T_arg...)>:
+
+
Inheritance graph
+ + +
[legend]
+ + + + + +

+Classes

class  accumulated
 Like sigc::signal but the additional template parameter T_accumulator defines the accumulator type that should be used. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Types

using accumulator_type = void
 
- Public Types inherited from sigc::signal_with_accumulator< T_return, void, T_arg...>
using const_iterator = typename slot_list_type::const_iterator
 
using const_reverse_iterator = typename slot_list_type::const_reverse_iterator
 
using emitter_type = internal::signal_emit< T_return, void, T_arg...>
 
using iterator = typename slot_list_type::iterator
 
using result_type = typename emitter_type::result_type
 
using reverse_iterator = typename slot_list_type::reverse_iterator
 
using slot_list_type = slot_list< slot_type >
 
using slot_type = slot< T_return(T_arg...)>
 
- Public Types inherited from sigc::signal_base
using size_type = std::size_t
 
- Public Types inherited from sigc::trackable
using func_destroy_notify = internal::func_destroy_notify
 
- Public Types inherited from sigc::notifiable
using func_destroy_notify = internal::func_destroy_notify
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 signal ()
 
 signal (const signal& src)
 
 signal (signal&& src)
 
signaloperator= (const signal& src)
 
signaloperator= (signal&& src)
 
- Public Member Functions inherited from sigc::signal_with_accumulator< T_return, void, T_arg...>
 signal_with_accumulator ()
 
 signal_with_accumulator (const signal_with_accumulator& src)
 
 signal_with_accumulator (signal_with_accumulator&& src)
 
iterator connect (const slot_type& slot_)
 Add a slot to the list of slots. More...
 
iterator connect (slot_type&& slot_)
 Add a slot to the list of slots. More...
 
decltype(auto) emit (type_trait_take_t< T_arg >..._A_a) const
 Triggers the emission of the signal. More...
 
decltype(auto) emit_reverse (type_trait_take_t< T_arg >..._A_a) const
 Triggers the emission of the signal in reverse order (see emit()). More...
 
decltype(auto) make_slot () const
 Creates a functor that calls emit() on this signal. More...
 
decltype(auto) operator() (type_trait_take_t< T_arg >..._A_a) const
 Triggers the emission of the signal (see emit()). More...
 
signal_with_accumulatoroperator= (const signal_with_accumulator& src)
 
signal_with_accumulatoroperator= (signal_with_accumulator&& src)
 
slot_list_type slots ()
 Creates an STL-style interface for the signal's list of slots. More...
 
const slot_list_type slots () const
 Creates an STL-style interface for the signal's list of slots. More...
 
- Public Member Functions inherited from sigc::signal_base
 signal_base () noexcept
 
 signal_base (const signal_base& src) noexcept
 
 signal_base (signal_base&& src)
 
 ~signal_base ()
 
void block (bool should_block=true) noexcept
 Sets the blocking state of all slots in the list. More...
 
bool blocked () const noexcept
 Returns whether all slots in the list are blocked. More...
 
void clear ()
 Empties the list of slots. More...
 
bool empty () const noexcept
 Returns whether the list of slots is empty. More...
 
signal_baseoperator= (const signal_base& src)
 
signal_baseoperator= (signal_base&& src)
 
size_type size () const noexcept
 Returns the number of slots in the list. More...
 
void unblock () noexcept
 Unsets the blocking state of all slots in the list. More...
 
- Public Member Functions inherited from sigc::trackable
 trackable () noexcept
 
 trackable (const trackable& src) noexcept
 
 trackable (trackable&& src)
 
 ~trackable ()
 
void add_destroy_notify_callback (notifiable* data, func_destroy_notify func) const
 Add a callback that is executed (notified) when the trackable object is detroyed. More...
 
void notify_callbacks ()
 Execute and remove all previously installed callbacks. More...
 
trackableoperator= (const trackable& src)
 
trackableoperator= (trackable&& src)
 
void remove_destroy_notify_callback (notifiable* data) const
 Remove a callback previously installed with add_destroy_notify_callback(). More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Types inherited from sigc::signal_base
using iterator_type = internal::signal_impl::iterator_type
 
- Protected Member Functions inherited from sigc::signal_base
iterator_type connect (const slot_base& slot_)
 Adds a slot at the end of the list of slots. More...
 
iterator_type connect (slot_base&& slot_)
 Adds a slot at the end of the list of slots. More...
 
iterator_type erase (iterator_type i)
 Removes the slot at the given position from the list of slots. More...
 
internal::signal_impl* impl () const
 Returns the signal_impl object encapsulating the list of slots. More...
 
iterator_type insert (iterator_type i, const slot_base& slot_)
 Adds a slot at the given position into the list of slots. More...
 
iterator_type insert (iterator_type i, slot_base&& slot_)
 Adds a slot at the given position into the list of slots. More...
 
- Protected Attributes inherited from sigc::signal_base
internal::signal_impl* impl_
 The signal_impl object encapsulating the slot list. More...
 
+

Member Typedef Documentation

+ +
+
+
+template <class T_return , class... T_arg>
+ + + + +
using sigc::signal< T_return(T_arg...)>::accumulator_type = void
+
+ +
+
+

Constructor & Destructor Documentation

+ +
+
+
+template <class T_return , class... T_arg>
+ + + + + +
+ + + + + + + +
sigc::signal< T_return(T_arg...)>::signal ()
+
+inline
+
+ +
+
+ +
+
+
+template <class T_return , class... T_arg>
+ + + + + +
+ + + + + + + + +
sigc::signal< T_return(T_arg...)>::signal (const signal< T_return(T_arg...)>& src)
+
+inline
+
+ +
+
+ +
+
+
+template <class T_return , class... T_arg>
+ + + + + +
+ + + + + + + + +
sigc::signal< T_return(T_arg...)>::signal (signal< T_return(T_arg...)>&& src)
+
+inline
+
+ +
+
+

Member Function Documentation

+ +
+
+
+template <class T_return , class... T_arg>
+ + + + + +
+ + + + + + + + +
signal& sigc::signal< T_return(T_arg...)>::operator= (const signal< T_return(T_arg...)>& src)
+
+inline
+
+ +
+
+ +
+
+
+template <class T_return , class... T_arg>
+ + + + + +
+ + + + + + + + +
signal& sigc::signal< T_return(T_arg...)>::operator= (signal< T_return(T_arg...)>&& src)
+
+inline
+
+ +
+
+
+ + + + diff --git a/docs/reference/html/classsigc_1_1signal_1_1accumulated-members.html b/docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4_1_1accumulated-members.html similarity index 92% rename from docs/reference/html/classsigc_1_1signal_1_1accumulated-members.html rename to docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4_1_1accumulated-members.html index 4925115..9f341fa 100644 --- a/docs/reference/html/classsigc_1_1signal_1_1accumulated-members.html +++ b/docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4_1_1accumulated-members.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -47,19 +47,19 @@
-
sigc::signal< T_return, T_arg >::accumulated< T_accumulator > Member List
+
sigc::signal< T_return(T_arg...)>::accumulated< T_accumulator > Member List
diff --git a/docs/reference/html/classsigc_1_1signal_1_1accumulated.html b/docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4_1_1accumulated.html similarity index 92% rename from docs/reference/html/classsigc_1_1signal_1_1accumulated.html rename to docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4_1_1accumulated.html index 209ef33..27f131d 100644 --- a/docs/reference/html/classsigc_1_1signal_1_1accumulated.html +++ b/docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4_1_1accumulated.html @@ -4,7 +4,7 @@ -libsigc++: sigc::signal< T_return, T_arg >::accumulated< T_accumulator > Class Template Reference +libsigc++: sigc::signal< T_return(T_arg...)>::accumulated< T_accumulator > Class Template Reference @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -47,36 +47,36 @@
-
sigc::signal< T_return, T_arg >::accumulated< T_accumulator > Class Template Reference
+
sigc::signal< T_return(T_arg...)>::accumulated< T_accumulator > Class Template Reference
-

Convenience wrapper for the numbered sigc::signal# templates. - More...

+

Like sigc::signal but the additional template parameter T_accumulator defines the accumulator type that should be used. + More...

#include <sigc++/signal.h>

-Inheritance diagram for sigc::signal< T_return, T_arg >::accumulated< T_accumulator >:
+Inheritance diagram for sigc::signal< T_return(T_arg...)>::accumulated< T_accumulator >:
-
Inheritance graph
- +
Inheritance graph
+
[legend]
- - - - + + + + @@ -84,10 +84,10 @@ Public Member Functions - + - + @@ -181,10 +181,10 @@ Additional Inherited Members - + - - + + @@ -224,10 +224,9 @@ Additional Inherited Members

Detailed Description

template<class T_return, class... T_arg>
template <class T_accumulator>
-class sigc::signal< T_return, T_arg >::accumulated< T_accumulator >

+class sigc::signal< T_return(T_arg...)>::accumulated< T_accumulator > -

Convenience wrapper for the numbered sigc::signal# templates.

-

Like sigc::signal but the additional template parameter T_accumulator defines the accumulator type that should be used.

+

Like sigc::signal but the additional template parameter T_accumulator defines the accumulator type that should be used.

An accumulator is a functor that uses a pair of special iterators to step through a list of slots and calculate a return value from the results of the slot invokations. The iterators' operator*() executes the slot. The return value is buffered, so that in an expression like

a = (*i) * (*i);

the slot is executed only once. The accumulator must define its return value as result_type.

Example 1:
This accumulator calculates the arithmetic mean value:
struct arithmetic_mean_accumulator
@@ -257,11 +256,11 @@ class sigc::signal< T_return, T_arg >::accumulated< T_accumulator ><
};

Constructor & Destructor Documentation

- +
-template <class T_return, class... T_arg>
+template <class T_return , class... T_arg>
template <class T_accumulator >

Public Member Functions

 accumulated ()
 
 accumulated (const accumulated& src)
 
 accumulated ()
 
 accumulated (const accumulated& src)
 
- Public Member Functions inherited from sigc::signal_with_accumulator< T_return, T_accumulator, T_arg...>
 signal_with_accumulator ()
 
 
 signal_with_accumulator (signal_with_accumulator&& src)
 
iterator connect (const slot_type& slot_)
iterator connect (const slot_type& slot_)
 Add a slot to the list of slots. More...
 
iterator connect (slot_type&& slot_)
iterator connect (slot_type&& slot_)
 Add a slot to the list of slots. More...
 
decltype(auto) emit (type_trait_take_t< T_arg >..._A_a) const
 
using reverse_iterator = typename slot_list_type::reverse_iterator
 
using slot_list_type = slot_list< slot_type >
using slot_list_type = slot_list< slot_type >
 
using slot_type = slot< T_return, T_arg...>
 
using slot_type = slot< T_return(T_arg...)>
 
- Public Types inherited from sigc::signal_base
using size_type = std::size_t
 
@@ -269,7 +268,7 @@ template <class T_accumulator > - + @@ -474,7 +474,7 @@ template <class T_return, class T_accumulator, class... T_arg> - + @@ -723,7 +723,7 @@ template <class T_return, class T_accumulator, class... T_arg> diff --git a/docs/reference/html/classsigc_1_1slot.html b/docs/reference/html/classsigc_1_1slot.html index d5b30e3..4c6289a 100644 --- a/docs/reference/html/classsigc_1_1slot.html +++ b/docs/reference/html/classsigc_1_1slot.html @@ -19,7 +19,7 @@ @@ -51,10 +51,6 @@
-
sigc::slot< T_return, T_arg > Class Template Reference
@@ -64,370 +60,22 @@ More...

#include <sigc++/functors/slot.h>

-
-Inheritance diagram for sigc::slot< T_return, T_arg >:
-
-
Inheritance graph
- - -
[legend]
-
- + @@ -284,11 +283,11 @@ template <class T_accumulator > - +
-template <class T_return, class... T_arg>
+template <class T_return , class... T_arg>
template <class T_accumulator >
sigc::signal< T_return, T_arg >::accumulated< T_accumulator >::accumulated sigc::signal< T_return(T_arg...)>::accumulated< T_accumulator >::accumulated ( )
@@ -296,9 +295,9 @@ template <class T_accumulator > @@ -86,10 +86,10 @@ Public Types - + - - + + @@ -108,10 +108,10 @@ Public Member Functions - + - + @@ -324,21 +324,21 @@ template <class T_return, class T_accumulator, class... T_arg> template <class T_return, class T_accumulator, class... T_arg>
- + - + @@ -315,7 +314,7 @@ template <class T_accumulator > diff --git a/docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4_1_1accumulated__inherit__graph.png b/docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4_1_1accumulated__inherit__graph.png new file mode 100644 index 0000000..1804b32 Binary files /dev/null and b/docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4_1_1accumulated__inherit__graph.png differ diff --git a/docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4__inherit__graph.png b/docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4__inherit__graph.png new file mode 100644 index 0000000..5c192d9 Binary files /dev/null and b/docs/reference/html/classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4__inherit__graph.png differ diff --git a/docs/reference/html/classsigc_1_1signal__inherit__graph.png b/docs/reference/html/classsigc_1_1signal__inherit__graph.png deleted file mode 100644 index b2ad077..0000000 Binary files a/docs/reference/html/classsigc_1_1signal__inherit__graph.png and /dev/null differ diff --git a/docs/reference/html/classsigc_1_1signal__with__accumulator-members.html b/docs/reference/html/classsigc_1_1signal__with__accumulator-members.html index d4a801e..5061fff 100644 --- a/docs/reference/html/classsigc_1_1signal__with__accumulator-members.html +++ b/docs/reference/html/classsigc_1_1signal__with__accumulator-members.html @@ -19,7 +19,7 @@ @@ -101,7 +101,7 @@ - + @@ -113,7 +113,7 @@
sigc::signal< T_return, T_arg >::accumulated< T_accumulator >::accumulated sigc::signal< T_return(T_arg...)>::accumulated< T_accumulator >::accumulated (const accumulated< T_accumulator >& const accumulated &  src)
libsigc++ -  2.99.1 +  2.99.2
size() const noexceptsigc::signal_base
size_type typedefsigc::signal_base
slot_list_type typedefsigc::signal_with_accumulator< T_return, T_accumulator, T_arg >
slot_type typedefsigc::signal_with_accumulator< T_return, T_accumulator, T_arg >
slot_type typedefsigc::signal_with_accumulator< T_return, T_accumulator, T_arg >
slots()sigc::signal_with_accumulator< T_return, T_accumulator, T_arg >inline
slots() const sigc::signal_with_accumulator< T_return, T_accumulator, T_arg >inline
trackable() noexceptsigc::trackable
diff --git a/docs/reference/html/classsigc_1_1signal__with__accumulator.html b/docs/reference/html/classsigc_1_1signal__with__accumulator.html index affd0e8..c3153e0 100644 --- a/docs/reference/html/classsigc_1_1signal__with__accumulator.html +++ b/docs/reference/html/classsigc_1_1signal__with__accumulator.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
 
using reverse_iterator = typename slot_list_type::reverse_iterator
 
using slot_list_type = slot_list< slot_type >
using slot_list_type = slot_list< slot_type >
 
using slot_type = slot< T_return, T_arg...>
 
using slot_type = slot< T_return(T_arg...)>
 
- Public Types inherited from sigc::signal_base
using size_type = std::size_t
 
 
 signal_with_accumulator (signal_with_accumulator&& src)
 
iterator connect (const slot_type& slot_)
iterator connect (const slot_type& slot_)
 Add a slot to the list of slots. More...
 
iterator connect (slot_type&& slot_)
iterator connect (slot_type&& slot_)
 Add a slot to the list of slots. More...
 
decltype(auto) emit (type_trait_take_t< T_arg >..._A_a) const
- +
using sigc::signal_with_accumulator< T_return, T_accumulator, T_arg >::slot_list_type = slot_list<slot_type>using sigc::signal_with_accumulator< T_return, T_accumulator, T_arg >::slot_list_type = slot_list<slot_type>
- +
template <class T_return, class T_accumulator, class... T_arg>
- +
using sigc::signal_with_accumulator< T_return, T_accumulator, T_arg >::slot_type = slot<T_return, T_arg...>using sigc::signal_with_accumulator< T_return, T_accumulator, T_arg >::slot_type = slot<T_return(T_arg...)>
@@ -436,7 +436,7 @@ template <class T_return, class T_accumulator, class... T_arg>
iterator sigc::signal_with_accumulator< T_return, T_accumulator, T_arg >::connect (const slot_typeconst slot_type slot_)
iterator sigc::signal_with_accumulator< T_return, T_accumulator, T_arg >::connect (slot_type&& slot_type&&  slot_)
libsigc++ -  2.99.1 +  2.99.2
- - - - - - -

-Public Types

using result_type = T_return
 
- Public Types inherited from sigc::slot_base
using func_destroy_notify = notifiable::func_destroy_notify
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 slot ()
 
template<class T_functor >
 slot (const T_functor& _A_func)
 Constructs a slot from an arbitrary functor. More...
 
 slot (const slot& src)
 Constructs a slot, copying an existing one. More...
 
 slot (slot&& src)
 Constructs a slot, moving an existing one. More...
 
T_return operator() (type_trait_take_t< T_arg >..._A_a) const
 Invoke the contained functor unless slot is in blocking state. More...
 
slotoperator= (const slot& src)
 Overrides this slot, making a copy from another slot. More...
 
slotoperator= (slot&& src)
 Overrides this slot, making a move from another slot. More...
 
- Public Member Functions inherited from sigc::slot_base
 slot_base () noexcept
 Constructs an empty slot. More...
 
 slot_base (rep_type* rep) noexcept
 Constructs a slot from an existing slot_rep object. More...
 
 slot_base (const slot_base& src)
 Constructs a slot, copying an existing one. More...
 
 slot_base (slot_base&& src)
 Constructs a slot, moving an existing one. More...
 
 ~slot_base ()
 
void add_destroy_notify_callback (notifiable* data, notifiable::func_destroy_notify func) const
 Add a callback that is executed (notified) when the slot is detroyed. More...
 
bool block (bool should_block=true) noexcept
 Sets the blocking state. More...
 
bool blocked () const noexcept
 Returns whether the slot is blocked. More...
 
void disconnect ()
 Disconnects the slot. More...
 
bool empty () const noexcept
 Returns whether the slot is invalid. More...
 
 operator bool () const noexcept
 Tests whether a slot is null, because the default constructor was used. More...
 
slot_baseoperator= (const slot_base& src)
 Overrides this slot, making a copy from another slot. More...
 
slot_baseoperator= (slot_base&& src)
 Overrides this slot, making a move from another slot. More...
 
void remove_destroy_notify_callback (notifiable* data) const
 Remove a callback previously installed with add_destroy_notify_callback(). More...
 
void set_parent (notifiable* parent, notifiable::func_destroy_notify cleanup) const noexcept
 Sets the parent of this slot. More...
 
bool unblock () noexcept
 Unsets the blocking state. More...
 
- - - - - - - - -

-Additional Inherited Members

- Public Attributes inherited from sigc::slot_base
bool blocked_
 Indicates whether the slot is blocked. More...
 
rep_type* rep_
 Typed slot_rep object that contains a functor. More...
 

Detailed Description

template<class T_return, class... T_arg>
class sigc::slot< T_return, T_arg >

Converts an arbitrary functor to a unified type which is opaque.

-

sigc::slot itself is a functor or to be more precise a closure. It contains a single, arbitrary functor (or closure) that is executed in operator()().

-

The template arguments determine the function signature of operator()():

    -
  • T_return The return type of operator()().* - T_arg Argument types used in the definition of operator()().
  • +

    sigc::slot itself is a functor or, to be more precise, a closure. It contains a single, arbitrary functor (or closure) that is executed in operator()().

    +

    The template arguments determine the function signature of operator()():

      +
    • T_return The return type of operator()().
    • +
    • T_arg Argument types used in the definition of operator()().
    -

    To use simply assign the desired functor to the slot. If the functor is not compatible with the parameter list defined with the template arguments compiler errors are triggered. When called the slot will invoke the functor with minimal copies. block() and unblock() can be used to block the functor's invocation from operator()() temporarily.

    -

    You should use the more convenient unnumbered sigc::slot template.

    -

Member Typedef Documentation

- -
-
-
-template <class T_return, class... T_arg>
- - - - -
using sigc::slot< T_return, T_arg >::result_type = T_return
-
- -
-
-

Constructor & Destructor Documentation

- -
-
-
-template <class T_return, class... T_arg>
- - - - - -
- - - - - - - -
sigc::slot< T_return, T_arg >::slot ()
-
-inline
-
- -
-
- -
-
-
-template <class T_return, class... T_arg>
-
-template <class T_functor >
- - - - - -
- - - - - - - - -
sigc::slot< T_return, T_arg >::slot (const T_functor & _A_func)
-
-inline
-
- -

Constructs a slot from an arbitrary functor.

-
Parameters
- - -
_A_funcThe desired functor the new slot should be assigned to.
-
-
- -
-
- -
-
-
-template <class T_return, class... T_arg>
- - - - - -
- - - - - - - - -
sigc::slot< T_return, T_arg >::slot (const slot< T_return, T_arg >& src)
-
-inline
-
- -

Constructs a slot, copying an existing one.

-
Parameters
- - -
srcThe existing slot to copy.
-
-
- -
-
- -
-
-
-template <class T_return, class... T_arg>
- - - - - -
- - - - - - - - -
sigc::slot< T_return, T_arg >::slot (slot< T_return, T_arg >&& src)
-
-inline
-
- -

Constructs a slot, moving an existing one.

-

If src is connected to a parent (e.g. a signal), it is copied, not moved.

Parameters
- - -
srcThe existing slot to move or copy.
-
-
- -
-
-

Member Function Documentation

- -
-
-
-template <class T_return, class... T_arg>
- - - - - -
- - - - - - - - -
T_return sigc::slot< T_return, T_arg >::operator() (type_trait_take_t< T_arg >... _A_a) const
-
-inline
-
- -

Invoke the contained functor unless slot is in blocking state.

-
Parameters
- - -
_A_aArguments to be passed on to the functor.
-
-
-
Returns
The return value of the functor invocation.
- -
-
- -
-
-
-template <class T_return, class... T_arg>
- - - - - -
- - - - - - - - -
slot& sigc::slot< T_return, T_arg >::operator= (const slot< T_return, T_arg >& src)
-
-inline
-
- -

Overrides this slot, making a copy from another slot.

-
Parameters
- - -
srcThe slot from which to make a copy.
-
-
-
Returns
this.
- -
-
- -
-
-
-template <class T_return, class... T_arg>
- - - - - -
- - - - - - - - -
slot& sigc::slot< T_return, T_arg >::operator= (slot< T_return, T_arg >&& src)
-
-inline
-
- -

Overrides this slot, making a move from another slot.

-

If src is connected to a parent (e.g. a signal), it is copied, not moved.

Parameters
- - -
srcThe slot from which to move or copy.
-
-
-
Returns
this.
- -
-
- +

For instance, to declare a slot that returns void and takes two parameters of bool and int:

To use, simply assign the desired functor to the slot. If the functor is not compatible with the parameter list defined with the template arguments then compiler errors are triggered. When called, the slot will invoke the functor with minimal copies. block() and unblock() can be used to block the functor's invocation from operator()() temporarily.

+ diff --git a/docs/reference/html/classsigc_1_1slot-members.html b/docs/reference/html/classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4-members.html similarity index 71% rename from docs/reference/html/classsigc_1_1slot-members.html rename to docs/reference/html/classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4-members.html index 0d95637..08d1fe7 100644 --- a/docs/reference/html/classsigc_1_1slot-members.html +++ b/docs/reference/html/classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4-members.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -47,16 +47,16 @@
-
sigc::slot< T_return, T_arg > Member List
+
sigc::slot< T_return(T_arg...)> Member List
-

This is the complete list of members for sigc::slot< T_return, T_arg >, including all inherited members.

+

This is the complete list of members for sigc::slot< T_return(T_arg...)>, including all inherited members.

@@ -66,19 +66,19 @@ - - - + + + - + - - - - + + + + @@ -88,7 +88,7 @@
add_destroy_notify_callback(notifiable* data, notifiable::func_destroy_notify func) const sigc::slot_base
block(bool should_block=true) noexceptsigc::slot_base
empty() const noexceptsigc::slot_baseinline
func_destroy_notify typedefsigc::slot_base
operator bool() const noexceptsigc::slot_baseexplicit
operator()(type_trait_take_t< T_arg >..._A_a) const sigc::slot< T_return, T_arg >inline
operator=(const slot& src)sigc::slot< T_return, T_arg >inline
operator=(slot&& src)sigc::slot< T_return, T_arg >inline
operator()(type_trait_take_t< T_arg >..._A_a) const sigc::slot< T_return(T_arg...)>inline
operator=(const slot& src)sigc::slot< T_return(T_arg...)>inline
operator=(slot&& src)sigc::slot< T_return(T_arg...)>inline
sigc::slot_base::operator=(const slot_base& src)sigc::slot_base
sigc::slot_base::operator=(slot_base&& src)sigc::slot_base
remove_destroy_notify_callback(notifiable* data) const sigc::slot_base
rep_sigc::slot_basemutable
result_type typedefsigc::slot< T_return, T_arg >
result_type typedefsigc::slot< T_return(T_arg...)>
set_parent(notifiable* parent, notifiable::func_destroy_notify cleanup) const noexceptsigc::slot_base
slot()sigc::slot< T_return, T_arg >inline
slot(const T_functor& _A_func)sigc::slot< T_return, T_arg >inline
slot(const slot& src)sigc::slot< T_return, T_arg >inline
slot(slot&& src)sigc::slot< T_return, T_arg >inline
slot()sigc::slot< T_return(T_arg...)>inline
slot(const T_functor& _A_func)sigc::slot< T_return(T_arg...)>inline
slot(const slot& src)sigc::slot< T_return(T_arg...)>inline
slot(slot&& src)sigc::slot< T_return(T_arg...)>inline
slot_base() noexceptsigc::slot_base
slot_base(rep_type* rep) noexceptsigc::slot_baseexplicit
slot_base(const slot_base& src)sigc::slot_base
diff --git a/docs/reference/html/classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4.html b/docs/reference/html/classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4.html new file mode 100644 index 0000000..1da7464 --- /dev/null +++ b/docs/reference/html/classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4.html @@ -0,0 +1,421 @@ + + + + + + +libsigc++: sigc::slot< T_return(T_arg...)> Class Template Reference + + + + + + + +
+
+ + + + + + +
+
libsigc++ +  2.99.2 +
+
+
+ + + + + +
+
+ +
+
sigc::slot< T_return(T_arg...)> Class Template Reference
+
+
+ +

#include <sigc++/functors/slot.h>

+
+Inheritance diagram for sigc::slot< T_return(T_arg...)>:
+
+
Inheritance graph
+ + +
[legend]
+ + + + + + + +

+Public Types

using result_type = T_return
 
- Public Types inherited from sigc::slot_base
using func_destroy_notify = notifiable::func_destroy_notify
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 slot ()
 
template<class T_functor >
 slot (const T_functor& _A_func)
 Constructs a slot from an arbitrary functor. More...
 
 slot (const slot& src)
 Constructs a slot, copying an existing one. More...
 
 slot (slot&& src)
 Constructs a slot, moving an existing one. More...
 
T_return operator() (type_trait_take_t< T_arg >..._A_a) const
 Invoke the contained functor unless slot is in blocking state. More...
 
slotoperator= (const slot& src)
 Overrides this slot, making a copy from another slot. More...
 
slotoperator= (slot&& src)
 Overrides this slot, making a move from another slot. More...
 
- Public Member Functions inherited from sigc::slot_base
 slot_base () noexcept
 Constructs an empty slot. More...
 
 slot_base (rep_type* rep) noexcept
 Constructs a slot from an existing slot_rep object. More...
 
 slot_base (const slot_base& src)
 Constructs a slot, copying an existing one. More...
 
 slot_base (slot_base&& src)
 Constructs a slot, moving an existing one. More...
 
 ~slot_base ()
 
void add_destroy_notify_callback (notifiable* data, notifiable::func_destroy_notify func) const
 Add a callback that is executed (notified) when the slot is detroyed. More...
 
bool block (bool should_block=true) noexcept
 Sets the blocking state. More...
 
bool blocked () const noexcept
 Returns whether the slot is blocked. More...
 
void disconnect ()
 Disconnects the slot. More...
 
bool empty () const noexcept
 Returns whether the slot is invalid. More...
 
 operator bool () const noexcept
 Tests whether a slot is null, because the default constructor was used. More...
 
slot_baseoperator= (const slot_base& src)
 Overrides this slot, making a copy from another slot. More...
 
slot_baseoperator= (slot_base&& src)
 Overrides this slot, making a move from another slot. More...
 
void remove_destroy_notify_callback (notifiable* data) const
 Remove a callback previously installed with add_destroy_notify_callback(). More...
 
void set_parent (notifiable* parent, notifiable::func_destroy_notify cleanup) const noexcept
 Sets the parent of this slot. More...
 
bool unblock () noexcept
 Unsets the blocking state. More...
 
+ + + + + + + + +

+Additional Inherited Members

- Public Attributes inherited from sigc::slot_base
bool blocked_
 Indicates whether the slot is blocked. More...
 
rep_type* rep_
 Typed slot_rep object that contains a functor. More...
 
+

Member Typedef Documentation

+ +
+
+
+template <class T_return , class... T_arg>
+ + + + +
using sigc::slot< T_return(T_arg...)>::result_type = T_return
+
+ +
+
+

Constructor & Destructor Documentation

+ +
+
+
+template <class T_return , class... T_arg>
+ + + + + +
+ + + + + + + +
sigc::slot< T_return(T_arg...)>::slot ()
+
+inline
+
+ +
+
+ +
+
+
+template <class T_return , class... T_arg>
+
+template <class T_functor >
+ + + + + +
+ + + + + + + + +
sigc::slot< T_return(T_arg...)>::slot (const T_functor & _A_func)
+
+inline
+
+ +

Constructs a slot from an arbitrary functor.

+
Parameters
+ + +
_A_funcThe desired functor the new slot should be assigned to.
+
+
+ +
+
+ +
+
+
+template <class T_return , class... T_arg>
+ + + + + +
+ + + + + + + + +
sigc::slot< T_return(T_arg...)>::slot (const slot< T_return(T_arg...)>& src)
+
+inline
+
+ +

Constructs a slot, copying an existing one.

+
Parameters
+ + +
srcThe existing slot to copy.
+
+
+ +
+
+ +
+
+
+template <class T_return , class... T_arg>
+ + + + + +
+ + + + + + + + +
sigc::slot< T_return(T_arg...)>::slot (slot< T_return(T_arg...)>&& src)
+
+inline
+
+ +

Constructs a slot, moving an existing one.

+

If src is connected to a parent (e.g. a signal), it is copied, not moved.

Parameters
+ + +
srcThe existing slot to move or copy.
+
+
+ +
+
+

Member Function Documentation

+ +
+
+
+template <class T_return , class... T_arg>
+ + + + + +
+ + + + + + + + +
T_return sigc::slot< T_return(T_arg...)>::operator() (type_trait_take_t< T_arg >... _A_a) const
+
+inline
+
+ +

Invoke the contained functor unless slot is in blocking state.

+
Parameters
+ + +
_A_aArguments to be passed on to the functor.
+
+
+
Returns
The return value of the functor invocation.
+ +
+
+ +
+
+
+template <class T_return , class... T_arg>
+ + + + + +
+ + + + + + + + +
slot& sigc::slot< T_return(T_arg...)>::operator= (const slot< T_return(T_arg...)>& src)
+
+inline
+
+ +

Overrides this slot, making a copy from another slot.

+
Parameters
+ + +
srcThe slot from which to make a copy.
+
+
+
Returns
this.
+ +
+
+ +
+
+
+template <class T_return , class... T_arg>
+ + + + + +
+ + + + + + + + +
slot& sigc::slot< T_return(T_arg...)>::operator= (slot< T_return(T_arg...)>&& src)
+
+inline
+
+ +

Overrides this slot, making a move from another slot.

+

If src is connected to a parent (e.g. a signal), it is copied, not moved.

Parameters
+ + +
srcThe slot from which to move or copy.
+
+
+
Returns
this.
+ +
+
+
+ + + + diff --git a/docs/reference/html/classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4__inherit__graph.png b/docs/reference/html/classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4__inherit__graph.png new file mode 100644 index 0000000..bac3b1c Binary files /dev/null and b/docs/reference/html/classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4__inherit__graph.png differ diff --git a/docs/reference/html/classsigc_1_1slot__base-members.html b/docs/reference/html/classsigc_1_1slot__base-members.html index 84c9e01..0bd065f 100644 --- a/docs/reference/html/classsigc_1_1slot__base-members.html +++ b/docs/reference/html/classsigc_1_1slot__base-members.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -80,7 +80,7 @@ diff --git a/docs/reference/html/classsigc_1_1slot__base.html b/docs/reference/html/classsigc_1_1slot__base.html index 9396bef..2fe7db1 100644 --- a/docs/reference/html/classsigc_1_1slot__base.html +++ b/docs/reference/html/classsigc_1_1slot__base.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -70,7 +70,7 @@ Inheritance diagram for sigc::slot_base:
Inheritance graph
- +
[legend]

Sets the blocking state.

-

If should_block is true then the blocking state is set. Subsequent calls to slot::operator()() don't invoke the functor contained by this slot until unblock() or block() with should_block = false is called.

Parameters
+

If should_block is true then the blocking state is set. Subsequent calls to slot::operator()() don't invoke the functor contained by this slot until unblock() or block() with should_block = false is called.

Parameters

@@ -334,7 +334,7 @@ Public Attributes

should_blockIndicates whether the blocking state should be set or unset.
@@ -624,7 +624,7 @@ Public Attributes diff --git a/docs/reference/html/classsigc_1_1slot__base__inherit__graph.png b/docs/reference/html/classsigc_1_1slot__base__inherit__graph.png index 7b0a9a6..e688f9d 100644 Binary files a/docs/reference/html/classsigc_1_1slot__base__inherit__graph.png and b/docs/reference/html/classsigc_1_1slot__base__inherit__graph.png differ diff --git a/docs/reference/html/classsigc_1_1slot__inherit__graph.png b/docs/reference/html/classsigc_1_1slot__inherit__graph.png deleted file mode 100644 index 113c598..0000000 Binary files a/docs/reference/html/classsigc_1_1slot__inherit__graph.png and /dev/null differ diff --git a/docs/reference/html/classsigc_1_1track__obj__functor-members.html b/docs/reference/html/classsigc_1_1track__obj__functor-members.html index 599b5fa..ab74f12 100644 --- a/docs/reference/html/classsigc_1_1track__obj__functor-members.html +++ b/docs/reference/html/classsigc_1_1track__obj__functor-members.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -68,7 +68,7 @@ diff --git a/docs/reference/html/classsigc_1_1track__obj__functor.html b/docs/reference/html/classsigc_1_1track__obj__functor.html index db203e3..61410ef 100644 --- a/docs/reference/html/classsigc_1_1track__obj__functor.html +++ b/docs/reference/html/classsigc_1_1track__obj__functor.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -266,7 +266,7 @@ template <typename... T_arg> diff --git a/docs/reference/html/deprecated.html b/docs/reference/html/deprecated.html index 9ef025c..8f79998 100644 --- a/docs/reference/html/deprecated.html +++ b/docs/reference/html/deprecated.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -50,7 +50,7 @@ diff --git a/docs/reference/html/dir_0bd3c8d814eb03171de012519d7a2ccd.html b/docs/reference/html/dir_0bd3c8d814eb03171de012519d7a2ccd.html index cbf0ba3..860d324 100644 --- a/docs/reference/html/dir_0bd3c8d814eb03171de012519d7a2ccd.html +++ b/docs/reference/html/dir_0bd3c8d814eb03171de012519d7a2ccd.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -78,7 +78,7 @@ Files diff --git a/docs/reference/html/dir_5c02128c554eaa40138b2e605fc08970.html b/docs/reference/html/dir_5c02128c554eaa40138b2e605fc08970.html index f8de733..02cf149 100644 --- a/docs/reference/html/dir_5c02128c554eaa40138b2e605fc08970.html +++ b/docs/reference/html/dir_5c02128c554eaa40138b2e605fc08970.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -91,7 +91,7 @@ Files diff --git a/docs/reference/html/dir_5fbc72877197f8c6013d0f619df5433c.html b/docs/reference/html/dir_5fbc72877197f8c6013d0f619df5433c.html index ff822e4..7e708a6 100644 --- a/docs/reference/html/dir_5fbc72877197f8c6013d0f619df5433c.html +++ b/docs/reference/html/dir_5fbc72877197f8c6013d0f619df5433c.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -68,7 +68,7 @@ Files diff --git a/docs/reference/html/dir_721a6b9909c6844e1177e3a6a712a0d2.html b/docs/reference/html/dir_721a6b9909c6844e1177e3a6a712a0d2.html index 6565d24..34b0dee 100644 --- a/docs/reference/html/dir_721a6b9909c6844e1177e3a6a712a0d2.html +++ b/docs/reference/html/dir_721a6b9909c6844e1177e3a6a712a0d2.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -64,7 +64,7 @@ Files diff --git a/docs/reference/html/functions.html b/docs/reference/html/functions.html index 9f0303e..745f0d5 100644 --- a/docs/reference/html/functions.html +++ b/docs/reference/html/functions.html @@ -19,7 +19,7 @@
libsigc++ -  2.99.1 +  2.99.2
@@ -83,10 +83,10 @@

- a -

  • accumulated() -: sigc::signal< T_return, T_arg >::accumulated< T_accumulator > +: sigc::signal< T_return(T_arg...)>::accumulated< T_accumulator >
  • accumulator_type -: sigc::signal< T_return, T_arg > +: sigc::signal< T_return(T_arg...)>
  • adaptor_functor() : sigc::adaptor_functor< T_functor > @@ -116,7 +116,7 @@ diff --git a/docs/reference/html/functions_b.html b/docs/reference/html/functions_b.html index 83d3c5f..4f79e43 100644 --- a/docs/reference/html/functions_b.html +++ b/docs/reference/html/functions_b.html @@ -19,7 +19,7 @@
    libsigc++ -  2.99.1 +  2.99.2
    @@ -123,7 +123,7 @@ diff --git a/docs/reference/html/functions_c.html b/docs/reference/html/functions_c.html index 901f28d..3883695 100644 --- a/docs/reference/html/functions_c.html +++ b/docs/reference/html/functions_c.html @@ -19,7 +19,7 @@
    libsigc++ -  2.99.1 +  2.99.2
    @@ -120,7 +120,7 @@ diff --git a/docs/reference/html/functions_d.html b/docs/reference/html/functions_d.html index e1e0b94..257fa31 100644 --- a/docs/reference/html/functions_d.html +++ b/docs/reference/html/functions_d.html @@ -19,7 +19,7 @@
    libsigc++ -  2.99.1 +  2.99.2
    @@ -97,7 +97,7 @@ diff --git a/docs/reference/html/functions_e.html b/docs/reference/html/functions_e.html index da89f39..bb67fcb 100644 --- a/docs/reference/html/functions_e.html +++ b/docs/reference/html/functions_e.html @@ -19,7 +19,7 @@
    libsigc++ -  2.99.1 +  2.99.2
    @@ -111,7 +111,7 @@ diff --git a/docs/reference/html/functions_f.html b/docs/reference/html/functions_f.html index 89b7453..b743968 100644 --- a/docs/reference/html/functions_f.html +++ b/docs/reference/html/functions_f.html @@ -19,7 +19,7 @@
    libsigc++ -  2.99.1 +  2.99.2
    @@ -92,7 +92,7 @@
  • func_ptr_ : sigc::mem_functor< T_func, T_arg > -, sigc::pointer_functor< T_return, T_args > +, sigc::pointer_functor< T_return(T_args...)>
  • function_type : sigc::bound_mem_functor< T_func, T_arg > @@ -111,7 +111,7 @@ diff --git a/docs/reference/html/functions_func.html b/docs/reference/html/functions_func.html index 5c5bea6..bab8855 100644 --- a/docs/reference/html/functions_func.html +++ b/docs/reference/html/functions_func.html @@ -19,7 +19,7 @@
    libsigc++ -  2.99.1 +  2.99.2
    @@ -82,7 +82,7 @@

    - a -

    • accumulated() -: sigc::signal< T_return, T_arg >::accumulated< T_accumulator > +: sigc::signal< T_return(T_arg...)>::accumulated< T_accumulator >
    • adaptor_functor() : sigc::adaptor_functor< T_functor > @@ -272,13 +272,13 @@ , sigc::exception_catch_functor< T_functor, T_catcher, T_return > , sigc::exception_catch_functor< T_functor, T_catcher, void > , sigc::hide_functor< I_location, T_functor > -, sigc::mem_functor< T_func, T_arg > -, sigc::pointer_functor< T_return, T_args > +, sigc::mem_functor< T_func, T_arg > +, sigc::pointer_functor< T_return(T_args...)> , sigc::retype_functor< T_functor, T_type > , sigc::retype_return_functor< T_return, T_functor > , sigc::retype_return_functor< void, T_functor > , sigc::signal_with_accumulator< T_return, T_accumulator, T_arg > -, sigc::slot< T_return, T_arg > +, sigc::slot< T_return(T_arg...)> , sigc::track_obj_functor< T_functor, T_obj >
    • operator*() @@ -298,13 +298,13 @@ , sigc::slot_iterator< T_slot >
    • operator=() -: sigc::connection -, sigc::signal< T_return, T_arg > -, sigc::signal_base +: sigc::connection +, sigc::signal< T_return(T_arg...)> +, sigc::signal_base , sigc::signal_with_accumulator< T_return, T_accumulator, T_arg > -, sigc::slot< T_return, T_arg > -, sigc::slot_base -, sigc::trackable +, sigc::slot< T_return(T_arg...)> +, sigc::slot_base +, sigc::trackable
    • operator==() : sigc::slot_const_iterator< T_slot > @@ -315,7 +315,7 @@

      - p -

      • pointer_functor() -: sigc::pointer_functor< T_return, T_args > +: sigc::pointer_functor< T_return(T_args...)>
      • pop_back() : sigc::slot_list< T_slot > @@ -358,7 +358,7 @@ : sigc::slot_base
      • signal() -: sigc::signal< T_return, T_arg > +: sigc::signal< T_return(T_arg...)>
      • signal_base() : sigc::signal_base @@ -370,7 +370,7 @@ : sigc::signal_base
      • slot() -: sigc::slot< T_return, T_arg > +: sigc::slot< T_return(T_arg...)>
      • slot_base() : sigc::slot_base @@ -440,7 +440,7 @@ diff --git a/docs/reference/html/functions_g.html b/docs/reference/html/functions_g.html index 2b7f79f..b8a44ff 100644 --- a/docs/reference/html/functions_g.html +++ b/docs/reference/html/functions_g.html @@ -19,7 +19,7 @@
        libsigc++ -  2.99.1 +  2.99.2
        @@ -104,7 +104,7 @@ diff --git a/docs/reference/html/functions_h.html b/docs/reference/html/functions_h.html index 2704379..9703e43 100644 --- a/docs/reference/html/functions_h.html +++ b/docs/reference/html/functions_h.html @@ -19,7 +19,7 @@
        libsigc++ -  2.99.1 +  2.99.2
        @@ -89,7 +89,7 @@ diff --git a/docs/reference/html/functions_i.html b/docs/reference/html/functions_i.html index 3c0d0db..a435aa0 100644 --- a/docs/reference/html/functions_i.html +++ b/docs/reference/html/functions_i.html @@ -19,7 +19,7 @@
        libsigc++ -  2.99.1 +  2.99.2
        @@ -120,7 +120,7 @@ diff --git a/docs/reference/html/functions_l.html b/docs/reference/html/functions_l.html index c49ea6d..f3e3c28 100644 --- a/docs/reference/html/functions_l.html +++ b/docs/reference/html/functions_l.html @@ -19,7 +19,7 @@
        libsigc++ -  2.99.1 +  2.99.2
        @@ -93,7 +93,7 @@ diff --git a/docs/reference/html/functions_m.html b/docs/reference/html/functions_m.html index 06939e1..9296dca 100644 --- a/docs/reference/html/functions_m.html +++ b/docs/reference/html/functions_m.html @@ -19,7 +19,7 @@
        libsigc++ -  2.99.1 +  2.99.2
        @@ -92,7 +92,7 @@ diff --git a/docs/reference/html/functions_n.html b/docs/reference/html/functions_n.html index a4e06a8..7e2cdd0 100644 --- a/docs/reference/html/functions_n.html +++ b/docs/reference/html/functions_n.html @@ -19,7 +19,7 @@
        libsigc++ -  2.99.1 +  2.99.2
        @@ -92,7 +92,7 @@ diff --git a/docs/reference/html/functions_o.html b/docs/reference/html/functions_o.html index d8de1b2..2bdb070 100644 --- a/docs/reference/html/functions_o.html +++ b/docs/reference/html/functions_o.html @@ -19,7 +19,7 @@
        libsigc++ -  2.99.1 +  2.99.2
        @@ -86,12 +86,12 @@ : sigc::bound_mem_functor< T_func, T_arg >
      • obj_type_with_modifier -: sigc::bound_mem_functor< T_func, T_arg > -, sigc::mem_functor< T_func, T_arg > +: sigc::bound_mem_functor< T_func, T_arg > +, sigc::mem_functor< T_func, T_arg >
      • object_type : sigc::bound_mem_functor< T_func, T_arg > -, sigc::mem_functor< T_func, T_arg > +, sigc::mem_functor< T_func, T_arg >
      • operator bool() : sigc::connection @@ -112,13 +112,13 @@ , sigc::exception_catch_functor< T_functor, T_catcher, T_return > , sigc::exception_catch_functor< T_functor, T_catcher, void > , sigc::hide_functor< I_location, T_functor > -, sigc::mem_functor< T_func, T_arg > -, sigc::pointer_functor< T_return, T_args > +, sigc::mem_functor< T_func, T_arg > +, sigc::pointer_functor< T_return(T_args...)> , sigc::retype_functor< T_functor, T_type > , sigc::retype_return_functor< T_return, T_functor > , sigc::retype_return_functor< void, T_functor > , sigc::signal_with_accumulator< T_return, T_accumulator, T_arg > -, sigc::slot< T_return, T_arg > +, sigc::slot< T_return(T_arg...)> , sigc::track_obj_functor< T_functor, T_obj >
      • operator*() @@ -139,11 +139,11 @@
      • operator=() : sigc::connection -, sigc::signal< T_return, T_arg > +, sigc::signal< T_return(T_arg...)> , sigc::signal_base , sigc::signal_with_accumulator< T_return, T_accumulator, T_arg > -, sigc::slot< T_return, T_arg > -, sigc::slot_base +, sigc::slot< T_return(T_arg...)> +, sigc::slot_base , sigc::trackable
      • operator==() @@ -154,7 +154,7 @@ diff --git a/docs/reference/html/functions_p.html b/docs/reference/html/functions_p.html index 59f4077..b5867fd 100644 --- a/docs/reference/html/functions_p.html +++ b/docs/reference/html/functions_p.html @@ -19,7 +19,7 @@
        libsigc++ -  2.99.1 +  2.99.2
        @@ -94,7 +94,7 @@ , sigc::slot_iterator< T_slot >
      • pointer_functor() -: sigc::pointer_functor< T_return, T_args > +: sigc::pointer_functor< T_return(T_args...)>
      • pop_back() : sigc::slot_list< T_slot > @@ -112,7 +112,7 @@ diff --git a/docs/reference/html/functions_r.html b/docs/reference/html/functions_r.html index f1bf517..5f7ff6d 100644 --- a/docs/reference/html/functions_r.html +++ b/docs/reference/html/functions_r.html @@ -19,7 +19,7 @@
        libsigc++ -  2.99.1 +  2.99.2
        @@ -119,13 +119,13 @@ , sigc::exception_catch_functor< T_functor, T_catcher, void > , sigc::functor_trait< T_functor, I_derives_functor_base, I_can_use_decltype > , sigc::hide_functor< I_location, T_functor > -, sigc::mem_functor< T_func, T_arg > -, sigc::pointer_functor< T_return, T_args > +, sigc::mem_functor< T_func, T_arg > +, sigc::pointer_functor< T_return(T_args...)> , sigc::retype_functor< T_functor, T_type > , sigc::retype_return_functor< T_return, T_functor > , sigc::retype_return_functor< void, T_functor > , sigc::signal_with_accumulator< T_return, T_accumulator, T_arg > -, sigc::slot< T_return, T_arg > +, sigc::slot< T_return(T_arg...)> , sigc::track_obj_functor< T_functor, T_obj >
      • ret_value_ @@ -146,7 +146,7 @@ diff --git a/docs/reference/html/functions_s.html b/docs/reference/html/functions_s.html index 31ef346..093c5ea 100644 --- a/docs/reference/html/functions_s.html +++ b/docs/reference/html/functions_s.html @@ -19,7 +19,7 @@
        libsigc++ -  2.99.1 +  2.99.2
        @@ -90,7 +90,7 @@ , sigc::compose2_functor< T_setter, T_getter1, T_getter2 >
      • signal() -: sigc::signal< T_return, T_arg > +: sigc::signal< T_return(T_arg...)>
      • signal_base() : sigc::signal_base @@ -107,7 +107,7 @@ , sigc::slot_iterator< T_slot >
      • slot() -: sigc::slot< T_return, T_arg > +: sigc::slot< T_return(T_arg...)>
      • slot_base() : sigc::slot_base @@ -125,7 +125,7 @@ : sigc::signal_with_accumulator< T_return, T_accumulator, T_arg >
      • slot_type -: sigc::signal_with_accumulator< T_return, T_accumulator, T_arg > +: sigc::signal_with_accumulator< T_return, T_accumulator, T_arg > , sigc::slot_const_iterator< T_slot > , sigc::slot_iterator< T_slot > , sigc::slot_list< T_slot > @@ -137,7 +137,7 @@ diff --git a/docs/reference/html/functions_t.html b/docs/reference/html/functions_t.html index f1d5d7b..d28a294 100644 --- a/docs/reference/html/functions_t.html +++ b/docs/reference/html/functions_t.html @@ -19,7 +19,7 @@
        libsigc++ -  2.99.1 +  2.99.2
        @@ -83,7 +83,7 @@

        - t -

        • T_limit_reference -: sigc::bound_mem_functor< T_func, T_arg > +: sigc::bound_mem_functor< T_func, T_arg >
        • take : sigc::type_trait< T_type > @@ -99,15 +99,7 @@ : sigc::trackable
        • type -: sigc::member_method_class< T_result(T_obj::*)(T_arg...) const > -, sigc::member_method_class< T_result(T_obj::*)(T_arg...) const volatile > -, sigc::member_method_class< T_result(T_obj::*)(T_arg...) volatile > -, sigc::member_method_class< T_result(T_obj::*)(T_arg...)> -, sigc::member_method_result< T_result(T_obj::*)(T_arg...) const > -, sigc::member_method_result< T_result(T_obj::*)(T_arg...) const volatile > -, sigc::member_method_result< T_result(T_obj::*)(T_arg...) volatile > -, sigc::member_method_result< T_result(T_obj::*)(T_arg...)> -, sigc::unwrap_reference< T_type > +: sigc::unwrap_reference< T_type > , sigc::unwrap_reference< std::reference_wrapper< const T_type > > , sigc::unwrap_reference< std::reference_wrapper< T_type > >
        • @@ -115,7 +107,7 @@ diff --git a/docs/reference/html/functions_type.html b/docs/reference/html/functions_type.html index 5422ecd..0530766 100644 --- a/docs/reference/html/functions_type.html +++ b/docs/reference/html/functions_type.html @@ -19,7 +19,7 @@
          libsigc++ -  2.99.1 +  2.99.2
          @@ -76,7 +76,7 @@

          - a -

          • accumulator_type -: sigc::signal< T_return, T_arg > +: sigc::signal< T_return(T_arg...)>
          • adaptor_type : sigc::adaptor_trait< T_functor, false > @@ -175,12 +175,12 @@

            - o -

            @@ -225,13 +225,13 @@ , sigc::exception_catch_functor< T_functor, T_catcher, void > , sigc::functor_trait< T_functor, I_derives_functor_base, I_can_use_decltype > , sigc::hide_functor< I_location, T_functor > -, sigc::mem_functor< T_func, T_arg > -, sigc::pointer_functor< T_return, T_args > +, sigc::mem_functor< T_func, T_arg > +, sigc::pointer_functor< T_return(T_args...)> , sigc::retype_functor< T_functor, T_type > , sigc::retype_return_functor< T_return, T_functor > , sigc::retype_return_functor< void, T_functor > , sigc::signal_with_accumulator< T_return, T_accumulator, T_arg > -, sigc::slot< T_return, T_arg > +, sigc::slot< T_return(T_arg...)> , sigc::track_obj_functor< T_functor, T_obj >
          • reverse_iterator @@ -255,7 +255,7 @@ : sigc::signal_with_accumulator< T_return, T_accumulator, T_arg >
          • slot_type -: sigc::signal_with_accumulator< T_return, T_accumulator, T_arg > +: sigc::signal_with_accumulator< T_return, T_accumulator, T_arg > , sigc::slot_const_iterator< T_slot > , sigc::slot_iterator< T_slot > , sigc::slot_list< T_slot > @@ -265,7 +265,7 @@

            - t -

            • T_limit_reference -: sigc::bound_mem_functor< T_func, T_arg > +: sigc::bound_mem_functor< T_func, T_arg >
            • take : sigc::type_trait< T_type > @@ -275,15 +275,7 @@ , sigc::type_trait< void >
            • type -: sigc::member_method_class< T_result(T_obj::*)(T_arg...) const > -, sigc::member_method_class< T_result(T_obj::*)(T_arg...) const volatile > -, sigc::member_method_class< T_result(T_obj::*)(T_arg...) volatile > -, sigc::member_method_class< T_result(T_obj::*)(T_arg...)> -, sigc::member_method_result< T_result(T_obj::*)(T_arg...) const > -, sigc::member_method_result< T_result(T_obj::*)(T_arg...) const volatile > -, sigc::member_method_result< T_result(T_obj::*)(T_arg...) volatile > -, sigc::member_method_result< T_result(T_obj::*)(T_arg...)> -, sigc::unwrap_reference< T_type > +: sigc::unwrap_reference< T_type > , sigc::unwrap_reference< std::reference_wrapper< const T_type > > , sigc::unwrap_reference< std::reference_wrapper< T_type > >
            • @@ -299,7 +291,7 @@ diff --git a/docs/reference/html/functions_u.html b/docs/reference/html/functions_u.html index f15c8bd..19cbdf1 100644 --- a/docs/reference/html/functions_u.html +++ b/docs/reference/html/functions_u.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -91,7 +91,7 @@ diff --git a/docs/reference/html/functions_v.html b/docs/reference/html/functions_v.html index dab1905..af88da2 100644 --- a/docs/reference/html/functions_v.html +++ b/docs/reference/html/functions_v.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -84,14 +84,6 @@

              - v -

              diff --git a/docs/reference/html/functions_~.html b/docs/reference/html/functions_~.html index 818cb7f..cbbce82 100644 --- a/docs/reference/html/functions_~.html +++ b/docs/reference/html/functions_~.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -101,7 +101,7 @@ diff --git a/docs/reference/html/graph_legend.html b/docs/reference/html/graph_legend.html index 185b023..6f80373 100644 --- a/docs/reference/html/graph_legend.html +++ b/docs/reference/html/graph_legend.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -109,7 +109,7 @@ A yellow dashed arrow denotes a relation between a template instance and the tem diff --git a/docs/reference/html/group__adaptors.html b/docs/reference/html/group__adaptors.html index e391dd7..14f787d 100644 --- a/docs/reference/html/group__adaptors.html +++ b/docs/reference/html/group__adaptors.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -65,7 +65,7 @@ Modules  sigc::hide() alters an arbitrary functor in that it adds a parameter whose value is ignored on invocation of the returned functor.
                 retype(), retype_return()sigc::retype() alters a sigc::pointer_functor, a sigc::mem_functor or a sigc::slot in that it makes C-style casts to the functor's parameter types of all parameters passed through operator()().
              sigc::retype() alters a sigc::pointer_functor, a sigc::mem_functor or a sigc::slot in that it makes C-style casts to the functor's parameter types of all parameters passed through operator()().
                 track_obj()  sigc::track_obj() tracks trackable objects, referenced from a functor.
              @@ -88,12 +88,12 @@ Classes

              Detailed Description

              Adaptors are functors that alter the signature of a functor's operator()().

              -

              The adaptor types libsigc++ provides are created with bind(), bind_return(), hide(), hide_return(), retype_return(), retype(), compose(), exception_catch(), track_obj() and group().

              +

              The adaptor types libsigc++ provides are created with bind(), bind_return(), hide(), hide_return(), retype_return(), retype(), compose(), exception_catch(), track_obj() and group().

              You can easily derive your own adaptor type from sigc::adapts.

              diff --git a/docs/reference/html/group__bind.html b/docs/reference/html/group__bind.html index 217e502..c67c9bc 100644 --- a/docs/reference/html/group__bind.html +++ b/docs/reference/html/group__bind.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -91,10 +91,10 @@ Functions
              sigc::bind(&foo,1,2)(3); //fixes the last two arguments and calls foo(3,1,2)
              sigc::bind(&foo,1,2,3)(); //fixes all three arguments and calls foo(1,2,3)
              -

              The functor sigc::bind() returns can be passed into sigc::signal::connect() directly.

              -
              Example:
              sigc::signal<void> some_signal;
              +

              The functor sigc::bind() returns can be passed into sigc::signal::connect() directly.

              +
              Example:
              void foo(int);
              -
              some_signal.connect(sigc::bind(&foo,1));
              +
              some_signal.connect(sigc::bind(&foo,1));

              sigc::bind_return() alters an arbitrary functor by fixing its return value to a certain value.

              Example:
              void foo();
              @@ -102,15 +102,15 @@ Functions

              You can bind references to functors by passing the objects through the std::ref() helper function.

              Example:
              int some_int;
              -
              sigc::signal<void> some_signal;
              +
              void foo(int&);
              -
              some_signal.connect(sigc::bind(&foo, std::ref(some_int)));
              +
              some_signal.connect(sigc::bind(&foo, std::ref(some_int)));

              If you bind an object of a sigc::trackable derived type to a functor by reference, a slot assigned to the bind adaptor is cleared automatically when the object goes out of scope.

              Example:
              struct bar : public sigc::trackable {} some_bar;
              -
              sigc::signal<void> some_signal;
              +
              void foo(bar&);
              -
              some_signal.connect(sigc::bind(&foo, std::ref(some_bar)));
              +
              some_signal.connect(sigc::bind(&foo, std::ref(some_bar)));
              // disconnected automatically if some_bar goes out of scope

              Function Documentation

              @@ -257,7 +257,7 @@ template <class T_return , class T_functor >
              diff --git a/docs/reference/html/group__compose.html b/docs/reference/html/group__compose.html index ad6b7c2..21540be 100644 --- a/docs/reference/html/group__compose.html +++ b/docs/reference/html/group__compose.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -78,9 +78,9 @@ Functions
              std::cout << sigc::compose(&square_root, &sum)(9, 16); // calls square_root(sum(3,6))
              std::cout << sigc::compose(&sum, &square_root, &square_root)(9); // calls sum(square_root(9), square_root(9))
              -

              The functor sigc::compose() returns can be passed directly into sigc::signal::connect().

              -
              Example:
              -
              some_signal.connect(sigc::compose(&square_root, &sum));
              +

              The functor sigc::compose() returns can be passed directly into sigc::signal::connect().

              +
              Example:
              sigc::signal(float(float, float)> some_signal;
              +
              some_signal.connect(sigc::compose(&square_root, &sum));

              Function Documentation

              @@ -185,7 +185,7 @@ template <class T_setter , class T_getter1 , class T_getter2 >
              diff --git a/docs/reference/html/group__exception__catch.html b/docs/reference/html/group__exception__catch.html index 68724b8..599288c 100644 --- a/docs/reference/html/group__exception__catch.html +++ b/docs/reference/html/group__exception__catch.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -63,14 +63,14 @@
              int foo(); // throws std::range_error
              sigc::exception_catch(&foo, my_catch())();
              -

              The functor sigc::exception_catch() returns can be directly passed into sigc::signal::connect().

              -
              Example:
              sigc::signal<int> some_signal;
              -
              some_signal.connect(sigc::exception_catch(&foo, my_catch));
              +

              The functor sigc::exception_catch() returns can be directly passed into sigc::signal::connect().

              +
              Example:
              sigc::signal<int()> some_signal;
              +
              some_signal.connect(sigc::exception_catch(&foo, my_catch));
              diff --git a/docs/reference/html/group__hide.html b/docs/reference/html/group__hide.html index 6064a4f..3281ee6 100644 --- a/docs/reference/html/group__hide.html +++ b/docs/reference/html/group__hide.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -84,10 +84,10 @@ Functions
              sigc::hide<1>(&foo)(1,2,3); // adds a dummy parameter in the middle and calls foo(1,3)
              sigc::hide<2>(&foo)(1,2,3); // adds a dummy parameter at the back and calls foo(1,2)
              -

              The functor sigc::hide() returns can be directly passed into sigc::signal::connect().

              -
              Example:
              +

              The functor sigc::hide() returns can be directly passed into sigc::signal::connect().

              +
              Example:
              void foo();
              -
              some_signal.connect(sigc::hide(&foo));
              +
              some_signal.connect(sigc::hide(&foo));

              sigc::hide() can be nested in order to discard multiple arguments.

              Example:
              // multiple argument hiding ...
              sigc::hide(sigc::hide(&foo))(1,2,3,4); // adds two dummy parameters at the back and calls foo(1,2)
              @@ -204,7 +204,7 @@ template <class T_functor >
              diff --git a/docs/reference/html/group__mem__fun.html b/docs/reference/html/group__mem__fun.html index f95ff87..dd18791 100644 --- a/docs/reference/html/group__mem__fun.html +++ b/docs/reference/html/group__mem__fun.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -55,10 +55,6 @@ Functions decltype(auto) sigc::mem_fun (T_return(T_obj::* _A_func)(T_arg...))  Creates a functor of type sigc::mem_functor which wraps a method. More...
                -template<class T_return , class T_obj , class T_obj2 , class... T_arg> -decltype(auto) sigc::mem_fun (T_obj* _A_obj, T_return(T_obj2::* _A_func)(T_arg...)) - Creates a functor of type sigc::bound_mem_functor which encapsulates a method and an object instance. More...
              -  template<class T_return , class T_obj , class T_obj2 , class... T_arg> decltype(auto) sigc::mem_fun (T_obj& _A_obj, T_return(T_obj2::* _A_func)(T_arg...))  Creates a functor of type sigc::bound_mem_functor which encapsulates a method and an object instance. More...
              @@ -74,7 +70,7 @@ Functions
              void bar(int) {}
              };
              foo my_foo;
              -
              sigc::slot<void, int> sl = sigc::mem_fun(my_foo, &foo::bar);
              +
              sigc::slot<void(int)> sl = sigc::mem_fun(my_foo, &foo::bar);
              // Note: f is not a slot. It will not be invalidated when my_foo is deleted.
              auto f = sigc::mem_fun(my_foo, &foo::bar); // Usually not what you want.
              @@ -84,7 +80,7 @@ Functions
              void bar(int) const {}
              };
              const foo my_foo;
              -
              sigc::slot<void, int> sl = sigc::mem_fun(my_foo, &foo::bar);
              +
              sigc::slot<void(int)> sl = sigc::mem_fun(my_foo, &foo::bar);

              Use mem_fun#() if there is an ambiguity as to the number of arguments.

              Example:
              struct foo : public sigc::trackable
              @@ -94,7 +90,7 @@ Functions
              void bar(int, int) {}
              };
              foo my_foo;
              -
              sigc::slot<void, int> sl = sigc::mem_fun1<int>(my_foo, &foo::bar);
              +
              sigc::slot<void(int)> sl = sigc::mem_fun1<int>(my_foo, &foo::bar);

              Function Documentation

              @@ -135,55 +131,6 @@ template <class T_return , class T_obj , class... T_arg> - -
              -
              -
              -template <class T_return , class T_obj , class T_obj2 , class... T_arg>
              - - - - - -
              - - - - - - - - - - - - - - - - - - -
              decltype(auto) sigc::mem_fun (T_obj * _A_obj,
              T_return(T_obj2::*)(T_arg...) _A_func 
              )
              -
              -inline
              -
              - -

              Creates a functor of type sigc::bound_mem_functor which encapsulates a method and an object instance.

              -

              Creates a functor of type sigc::bound_const_volatile_mem_functor which encapsulates a method and an object instance.

              -

              Creates a functor of type sigc::bound_volatile_mem_functor which encapsulates a method and an object instance.

              -

              Creates a functor of type sigc::bound_const_mem_functor which encapsulates a method and an object instance.

              -
              Parameters
              - - - -
              _A_objPointer to object instance the functor should operate on.
              _A_funcPointer to method that should be wrapped.
              -
              -
              -
              Returns
              Functor that executes _A_func on invokation.
              - -
              -
              @@ -236,7 +183,7 @@ template <class T_return , class T_obj , class T_obj2 , class... T_arg> diff --git a/docs/reference/html/group__ptr__fun.html b/docs/reference/html/group__ptr__fun.html index a23d65f..4c70f53 100644 --- a/docs/reference/html/group__ptr__fun.html +++ b/docs/reference/html/group__ptr__fun.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -47,7 +47,7 @@
              -

              ptr_fun() is used to convert a pointer to a function to a functor. +

              ptr_fun() is used to convert a pointer to a function to a functor. More...

              @@ -58,31 +58,31 @@ Classes

              - - - - + + + +

              Functions

              template<class T_return , class... T_args>
              pointer_functor< T_return, T_args...> sigc::ptr_fun (T_return(* _A_func)(T_args...))
               Creates a functor of type sigc::pointer_functor which wraps an existing non-member function. More...
               
              template<class T_return , class... T_args>
              decltype(auto) sigc::ptr_fun (T_return(* _A_func)(T_args...))
               Creates a functor of type sigc::pointer_functor which wraps an existing non-member function. More...
               

              Detailed Description

              -

              ptr_fun() is used to convert a pointer to a function to a functor.

              +

              ptr_fun() is used to convert a pointer to a function to a functor.

              If the function pointer is to an overloaded type, you must specify the types using template arguments starting with the first argument. It is not necessary to supply the return type.

              Example:
              void foo(int) {}
              - +
              Example:
              void foo(int) {} // choose this one
              void foo(float) {}
              void foo(int, int) {}
              -
              sigc::slot<void, long> sl = sigc::ptr_fun<void, int>(&foo);
              +
              sigc::slot<void(long)> sl = sigc::ptr_fun<void, int>(&foo);
              -

              ptr_fun() can also be used to convert a pointer to a static member function to a functor, like so:

              +

              ptr_fun() can also be used to convert a pointer to a static member function to a functor, like so:

              Example:
              struct foo
              {
              static void bar(int) {}
              };
              - +

              Function Documentation

              - +
              @@ -92,7 +92,7 @@ template <class T_return , class... T_args>
              - + @@ -120,7 +120,7 @@ template <class T_return , class... T_args> diff --git a/docs/reference/html/group__retype.html b/docs/reference/html/group__retype.html index d8359d1..3232b54 100644 --- a/docs/reference/html/group__retype.html +++ b/docs/reference/html/group__retype.html @@ -19,7 +19,7 @@ @@ -47,7 +47,7 @@
              -

              sigc::retype() alters a sigc::pointer_functor, a sigc::mem_functor or a sigc::slot in that it makes C-style casts to the functor's parameter types of all parameters passed through operator()(). +

              sigc::retype() alters a sigc::pointer_functor, a sigc::mem_functor or a sigc::slot in that it makes C-style casts to the functor's parameter types of all parameters passed through operator()(). More...

              pointer_functor<T_return, T_args...> sigc::ptr_fun decltype(auto) sigc::ptr_fun ( T_return(*)(T_args...)  _A_func)
              libsigc++ -  2.99.1 +  2.99.2

              @@ -64,48 +64,40 @@ Classes

              - - - - - - - - - - - - - - - - + + + + + + + +

              Functions

              template<class T_return , class... T_arg>
              decltype(auto) sigc::retype (const slot< T_return, T_arg...>& _A_functor)
               Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. More...
               
              template<class T_return , class... T_arg>
              decltype(auto) sigc::retype (const pointer_functor< T_return, T_arg...>& _A_functor)
               Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. More...
               
              template<class T_func , class... T_arg>
              decltype(auto) sigc::retype (const mem_functor< T_func, T_arg...>& _A_functor)
               Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. More...
               
              template<class T_func , class... T_arg>
              decltype(auto) sigc::retype (const bound_mem_functor< T_func, T_arg...>& _A_functor)
               Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. More...
               
              template<template< class T_func, class...T_arg > class T_functor, class T_func , class... T_arg>
              decltype(auto) sigc::retype (const T_functor< T_func, T_arg...>& _A_functor)
               Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. More...
               
              template<template< class T_return, class...T_arg > class T_functor, class T_return , class... T_arg>
              decltype(auto) sigc::retype (const T_functor< T_return(T_arg...)>& _A_functor)
               Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. More...
               
              template<class T_return , class T_functor >
              retype_return_functor< T_return, T_functor > sigc::retype_return (const T_functor& _A_functor)
               Creates an adaptor of type sigc::retype_return_functor which performs a C-style cast on the return value of the passed functor. More...
               

              Detailed Description

              -

              sigc::retype() alters a sigc::pointer_functor, a sigc::mem_functor or a sigc::slot in that it makes C-style casts to the functor's parameter types of all parameters passed through operator()().

              +

              sigc::retype() alters a sigc::pointer_functor, a sigc::mem_functor or a sigc::slot in that it makes C-style casts to the functor's parameter types of all parameters passed through operator()().

              Use this adaptor for inline conversion between numeric or other simple types.

              Example:
              void foo(int);
              -
              sigc::retype(sigc::ptr_fun(&foo))(5.7F); // calls foo(5)
              +
              sigc::retype(sigc::ptr_fun(&foo))(5.7F); // calls foo(5)
              -

              The functor that sigc::retype() returns can be passed directly into sigc::signal::connect().

              -
              Example:
              +

              The functor that sigc::retype() returns can be passed directly into sigc::signal::connect().

              +
              Example:
              void foo(int);
              -
              some_signal.connect(sigc::retype(sigc::ptr_fun(&foo)));
              +
              some_signal.connect(sigc::retype(sigc::ptr_fun(&foo)));

              This adaptor builds an exception in that it only works on sig::pointer_functor, sigc::mem_functor and sigc::slot because it needs sophisticated information about the parameter types that cannot be deduced from arbitrary functor types.

              -

              sigc::retype_return() alters the return type of an arbitrary functor. Like in sigc::retype() a C-style cast is performed. Usage sigc::retype_return() is not restricted to libsigc++ functor types but you need to specify the new return type as a template parameter.

              +

              sigc::retype_return() alters the return type of an arbitrary functor. Like in sigc::retype() a C-style cast is performed. Usage sigc::retype_return() is not restricted to libsigc++ functor types but you need to specify the new return type as a template parameter.

              Example:
              float foo();
              std::cout << sigc::retype_return<int>(&foo)(); // converts foo's return value to an integer

              Function Documentation

              - +
              -template <class T_return , class... T_arg>
              +template <template< class T_func, class...T_arg > class T_functor, class T_func , class... T_arg>
              - + @@ -126,7 +118,6 @@ template <class T_return , class... T_arg>

              Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor.

              -

              This function template specialization works on sigc::slot.

              Parameters
              @@ -113,7 +105,7 @@ template <class T_return , class... T_arg>
              decltype(auto) sigc::retype (const slot< T_return, T_arg...>& const T_functor< T_func, T_arg...> &  _A_functor)
              @@ -137,11 +128,11 @@ template <class T_return , class... T_arg> - +
              -template <class T_return , class... T_arg>
              +template <template< class T_return, class...T_arg > class T_functor, class T_return , class... T_arg>
              _A_functorFunctor that should be wrapped.
              - + @@ -162,79 +153,6 @@ template <class T_return , class... T_arg>

              Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor.

              -

              This function template specialization works on sigc::pointer_functor.

              -
              Parameters
              -
              @@ -149,7 +140,7 @@ template <class T_return , class... T_arg>
              decltype(auto) sigc::retype (const pointer_functor< T_return, T_arg...>& const T_functor< T_return(T_arg...)> &  _A_functor)
              - -
              _A_functorFunctor that should be wrapped.
              -
              -
              -
              Returns
              Adaptor that executes _A_functor performing C-style casts on the paramters passed on.
              - -
              -
              - -
              -
              -
              -template <class T_func , class... T_arg>
              - - - - - -
              - - - - - - - - -
              decltype(auto) sigc::retype (const mem_functor< T_func, T_arg...>& _A_functor)
              -
              -inline
              -
              - -

              Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor.

              -

              This function template specialization works on sigc::mem_functor.

              -
              Parameters
              - - -
              _A_functorFunctor that should be wrapped.
              -
              -
              -
              Returns
              Adaptor that executes _A_functor performing C-style casts on the paramters passed on.
              - -
              -
              - -
              -
              -
              -template <class T_func , class... T_arg>
              - - - - - -
              - - - - - - - - -
              decltype(auto) sigc::retype (const bound_mem_functor< T_func, T_arg...>& _A_functor)
              -
              -inline
              -
              - -

              Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor.

              -

              This function template specialization works on sigc::bound_mem_functor.

              Parameters
              @@ -284,7 +202,7 @@ template <class T_return , class T_functor > diff --git a/docs/reference/html/group__sigcfunctors.html b/docs/reference/html/group__sigcfunctors.html index a0854c4..9c800ae 100644 --- a/docs/reference/html/group__sigcfunctors.html +++ b/docs/reference/html/group__sigcfunctors.html @@ -19,7 +19,7 @@ @@ -61,7 +61,7 @@ Modules - +
              _A_functorFunctor that should be wrapped.
              libsigc++ -  2.99.1 +  2.99.2
               mem_fun() is used to convert a pointer to a method to a functor.
               
               ptr_fun()
               ptr_fun() is used to convert a pointer to a function to a functor.
               ptr_fun() is used to convert a pointer to a function to a functor.
               

              Closures are functors that store all information needed to invoke a callback from operator()().

              Adaptors are functors that alter the signature of a functor's operator()().

              libsigc++ defines numerous functors, closures and adaptors. Since libsigc++ is a callback library, most functors are also closures. The documentation doesn't distinguish between functors and closures.

              -

              The basic functor types libsigc++ provides are created with ptr_fun() and mem_fun() and can be converted into slots implicitly. The set of adaptors that ships with libsigc++ is documented in the Adaptors module.

              +

              The basic functor types libsigc++ provides are created with ptr_fun() and mem_fun() and can be converted into slots implicitly. The set of adaptors that ships with libsigc++ is documented in the Adaptors module.

              If you want to mix user-defined and third party functors with libsigc++, and you want them to be implicitly convertible into slots, libsigc++ must know the result type of your functors. There are different ways to achieve that.

              • Derive your functors from sigc::functor_base and place using result_type = T_return; in the class definition.
              • @@ -251,7 +251,7 @@ template <class T_type , class T_action , class T_functor > diff --git a/docs/reference/html/group__signal.html b/docs/reference/html/group__signal.html index 78bb913..4f702d7 100644 --- a/docs/reference/html/group__signal.html +++ b/docs/reference/html/group__signal.html @@ -19,7 +19,7 @@
              @@ -46,7 +46,7 @@
              -

              Use sigc::signal::connect() with sigc::mem_fun() and sigc::ptr_fun() to connect a method or function with a signal. +

              Use sigc::signal::connect() with sigc::mem_fun() and sigc::ptr_fun() to connect a method or function with a signal. More...

              @@ -108,7 +108,7 @@ Functions

              libsigc++ -  2.99.1 +  2.99.2
              - + - - + + - + @@ -73,32 +73,32 @@ Classes - +

              @@ -55,13 +55,13 @@ Classes

               Convinience class for safe disconnection. More...
               
              class  sigc::signal< T_return, T_arg >
               Convenience wrapper for the numbered sigc::signal# templates. More...
               signal can be used to connect() slots that are invoked during subsequent calls to emit(). More...
               
              class  sigc::signal< T_return, T_arg >::accumulated< T_accumulator >
               Convenience wrapper for the numbered sigc::signal# templates. More...
              class  sigc::signal< T_return(T_arg...)>::accumulated< T_accumulator >
               Like sigc::signal but the additional template parameter T_accumulator defines the accumulator type that should be used. More...
               
              struct  sigc::signal_base
               Base class for the sigc::signal# templates. More...
               Base class for the sigc::signal# templates. More...
               
              class  sigc::signal_with_accumulator< T_return, T_accumulator, T_arg >
               Signal declaration. More...
               STL-style iterator for slot_list. More...
               
              struct  sigc::slot_list< T_slot >
               STL-style list interface for sigc::signal#. More...
               STL-style list interface for sigc::signal#. More...
               
              struct  sigc::trackable
               Base class for objects with auto-disconnection. More...
               

              Detailed Description

              -

              Use sigc::signal::connect() with sigc::mem_fun() and sigc::ptr_fun() to connect a method or function with a signal.

              +

              Use sigc::signal::connect() with sigc::mem_fun() and sigc::ptr_fun() to connect a method or function with a signal.

              signal_clicked.connect( sigc::mem_fun(*this, &MyWindow::on_clicked) );

              When the signal is emitted your method will be called.

              -

              signal::connect() returns a connection, which you can later use to disconnect your method. If the type of your object inherits from sigc::trackable the method is disconnected automatically when your object is destroyed.

              -

              When signals are copied they share the underlying information, so you can have a protected/private sigc::signal member and a public accessor method. A sigc::signal is a kind of reference-counting pointer. It's similar to std::shared_ptr<>, although sigc::signal is restricted to holding a pointer to a sigc::internal::signal_impl object that contains the implementation of the signal.

              +

              signal::connect() returns a connection, which you can later use to disconnect your method. If the type of your object inherits from sigc::trackable the method is disconnected automatically when your object is destroyed.

              +

              When signals are copied they share the underlying information, so you can have a protected/private sigc::signal member and a public accessor method. A sigc::signal is a kind of reference-counting pointer. It's similar to std::shared_ptr<>, although sigc::signal is restricted to holding a pointer to a sigc::internal::signal_impl object that contains the implementation of the signal.

              class MyClass
              {
              public:
              -
              using MySignalType = sigc::signal<void>;
              +
              using MySignalType = sigc::signal<void()>;
              MySignalType get_my_signal() { return m_my_signal; }
              private:
              MySignalType m_my_signal;
              };

              signal and slot objects provide the core functionality of this library. A slot is a container for an arbitrary functor. A signal is a list of slots that are executed on emission. For compile time type safety a list of template arguments must be provided for the signal template that determines the parameter list for emission. Functors and closures are converted into slots implicitly on connection, triggering compiler errors if the given functor or closure cannot be invoked with the parameter list of the signal to connect to.

              -

              Almost any functor with the correct signature can be converted to a sigc::slot and connected to a signal. See Slots and sigc::signal::connect().

              +

              Almost any functor with the correct signature can be converted to a sigc::slot and connected to a signal. See Slots and sigc::signal::connect().

              diff --git a/docs/reference/html/group__slot.html b/docs/reference/html/group__slot.html index cb4f6c2..b1b0f62 100644 --- a/docs/reference/html/group__slot.html +++ b/docs/reference/html/group__slot.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -61,12 +61,12 @@ Classes

              Detailed Description

              Slots are type-safe representations of callback methods and functions.

              A slot can be constructed from any function object or function, regardless of whether it is a global function, a member method, static, or virtual.

              -

              Use the sigc::mem_fun() and sigc::ptr_fun() template functions to get a sigc::slot, like so:

              sigc::slot<void, int> sl = sigc::mem_fun(someobj,& SomeClass::somemethod);
              -

              or

              +

              Use the sigc::mem_fun() and sigc::ptr_fun() template functions to get a sigc::slot, like so:

              sigc::slot<void(int)> sl = sigc::mem_fun(someobj,& SomeClass::somemethod);
              +

              or

              or, in gtkmm,

              m_Button.signal_clicked().connect( sigc::mem_fun(*this, &MyWindow::on_button_clicked) );

              The compiler will complain if SomeClass::somemethod, etc. have the wrong signature.

              You can also pass slots as method parameters where you might normally pass a function pointer.

              -

              sigc::mem_fun() and sigc::ptr_fun() return functors, but those functors are not slots.

              sigc::slot<void, int> sl = sigc::mem_fun(someobj,& SomeClass::somemethod);
              +

              sigc::mem_fun() and sigc::ptr_fun() return functors, but those functors are not slots.

              sigc::slot<void(int)> sl = sigc::mem_fun(someobj,& SomeClass::somemethod);

              is not equivalent to

              auto sl = sigc::mem_fun(someobj, &SomeClass::somemethod); // Not a slot!

              A C++11 lambda expression is a functor (function object). It is automatically wrapped in a slot, if it is connected to a signal.

              auto on_response = [&someobj] (int response_id)
              {
              @@ -81,7 +81,7 @@ Classes
              diff --git a/docs/reference/html/group__track__obj.html b/docs/reference/html/group__track__obj.html index d8546de..3824fcd 100644 --- a/docs/reference/html/group__track__obj.html +++ b/docs/reference/html/group__track__obj.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -68,13 +68,13 @@ Functions

              It can be useful when you assign a C++11 lambda expression or a std::function<> to a slot, or connect it to a signal, and the lambda expression or std::function<> contains references to sigc::trackable derived objects.

              The functor returned by sigc::track_obj() is formally an adaptor, but it does not alter the signature, return type or behaviour of the supplied functor. Up to 7 objects can be tracked. operator()() can have up to 7 arguments.

              Example:
              struct bar : public sigc::trackable {};
              -
              sigc::signal<void> some_signal;
              +
              void foo(bar&);
              {
              bar some_bar;
              -
              some_signal.connect([&some_bar](){ foo(some_bar); });
              +
              some_signal.connect([&some_bar](){ foo(some_bar); });
              // NOT disconnected automatically when some_bar goes out of scope
              -
              some_signal.connect(sigc::track_obj([&some_bar](){ foo(some_bar); }, some_bar);
              +
              some_signal.connect(sigc::track_obj([&some_bar](){ foo(some_bar); }, some_bar);
              // disconnected automatically when some_bar goes out of scope
              }
              @@ -130,7 +130,7 @@ template <typename T_functor , typename... T_obj>
              diff --git a/docs/reference/html/hierarchy.html b/docs/reference/html/hierarchy.html index ad6af26..2423d4a 100644 --- a/docs/reference/html/hierarchy.html +++ b/docs/reference/html/hierarchy.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -87,59 +87,42 @@ This inheritance list is sorted roughly, but not completely, alphabetically: Csigc::retype_return_functor< void, T_functor >Adaptor that performs a C-style cast on the return value of a functor  Csigc::track_obj_functor< T_functor, T_obj >Track_obj_functor wraps a functor and stores a reference to a trackable object  Csigc::mem_functor< T_func, T_arg > - Csigc::pointer_functor< T_return, T_args >Pointer_functor wraps existing non-member functions with, or without, arguments + Csigc::pointer_functor< T_return(T_args...)>  Csigc::slot_baseBase type for slots - Csigc::slot< T_return, T_arg >Converts an arbitrary functor to a unified type which is opaque + Csigc::slot< T_return(T_arg...)>  Csigc::functor_trait< T_functor, I_derives_functor_base, I_can_use_decltype >Trait that specifies the return type of any type  Csigc::limit_reference< T_type, I_derives_trackable >A limit_reference<Foo> object stores a reference (Foo&), but makes sure that, if Foo inherits from sigc::trackable, then visit_each<>() will "limit" itself to the sigc::trackable reference instead of the derived reference  Csigc::limit_reference< T_type, true >Limit_reference object for a class that derives from trackable - Csigc::member_method_class< T_result, T_arg > - Csigc::member_method_class< T_result(T_obj::*)(T_arg...) const > - Csigc::member_method_class< T_result(T_obj::*)(T_arg...) const volatile > - Csigc::member_method_class< T_result(T_obj::*)(T_arg...) volatile > - Csigc::member_method_class< T_result(T_obj::*)(T_arg...)> - Csigc::member_method_is_const< class > - Csigc::member_method_is_const< T_result(T_obj::*)(T_arg...) const > - Csigc::member_method_is_const< T_result(T_obj::*)(T_arg...) const volatile > - Csigc::member_method_is_const< T_result(T_obj::*)(T_arg...) volatile > - Csigc::member_method_is_const< T_result(T_obj::*)(T_arg...)> - Csigc::member_method_is_volatile< class > - Csigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...) const > - Csigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...) const volatile > - Csigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...) volatile > - Csigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...)> - Csigc::member_method_result< T_result, T_arg > - Csigc::member_method_result< T_result(T_obj::*)(T_arg...) const > - Csigc::member_method_result< T_result(T_obj::*)(T_arg...) const volatile > - Csigc::member_method_result< T_result(T_obj::*)(T_arg...) volatile > - Csigc::member_method_result< T_result(T_obj::*)(T_arg...)> - Csigc::notifiable - Csigc::connectionConvinience class for safe disconnection - Csigc::trackableBase class for objects with auto-disconnection - Csigc::signal_baseBase class for the sigc::signal# templates - Csigc::signal_with_accumulator< T_return, T_accumulator, T_arg >Signal declaration - Csigc::signal_with_accumulator< T_return, T_accumulator, T_arg...> - Csigc::signal< T_return, T_arg >::accumulated< T_accumulator >Convenience wrapper for the numbered sigc::signal# templates - Csigc::signal_with_accumulator< T_return, void, T_arg...> - Csigc::signal< T_return, T_arg >Convenience wrapper for the numbered sigc::signal# templates - Csigc::slot_const_iterator< T_slot >STL-style const iterator for slot_list - Csigc::slot_iterator< T_slot >STL-style iterator for slot_list - Csigc::slot_list< T_slot >STL-style list interface for sigc::signal# - Csigc::type_trait< T_type > - Csigc::type_trait< const T_type& > - Csigc::type_trait< T_type& > - Csigc::type_trait< T_type[N]> - Csigc::type_trait< void > - Csigc::unwrap_reference< T_type > - Csigc::unwrap_reference< std::reference_wrapper< const T_type > > - Csigc::unwrap_reference< std::reference_wrapper< T_type > > - Csigc::visitor< T_functor >Sigc::visitor<T_functor>::do_visit_each() performs a functor on each of the targets of a functor + Csigc::notifiable + Csigc::connectionConvinience class for safe disconnection + Csigc::trackableBase class for objects with auto-disconnection + Csigc::signal_baseBase class for the sigc::signal# templates + Csigc::signal_with_accumulator< T_return, T_accumulator, T_arg >Signal declaration + Csigc::signal_with_accumulator< T_return, T_accumulator, T_arg...> + Csigc::signal< T_return(T_arg...)>::accumulated< T_accumulator >Like sigc::signal but the additional template parameter T_accumulator defines the accumulator type that should be used + Csigc::signal_with_accumulator< T_return, void, T_arg...> + Csigc::signal< T_return(T_arg...)> + Csigc::pointer_functor< T_return, T_args >Pointer_functor wraps existing non-member functions with, or without, arguments + Csigc::signal< T_return, T_arg >Signal can be used to connect() slots that are invoked during subsequent calls to emit() + Csigc::slot< T_return, T_arg >Converts an arbitrary functor to a unified type which is opaque + Csigc::slot_const_iterator< T_slot >STL-style const iterator for slot_list + Csigc::slot_iterator< T_slot >STL-style iterator for slot_list + Csigc::slot_list< T_slot >STL-style list interface for sigc::signal# + Csigc::type_trait< T_type > + Csigc::type_trait< const T_type& > + Csigc::type_trait< T_type& > + Csigc::type_trait< T_type[N]> + Csigc::type_trait< void > + Csigc::unwrap_reference< T_type > + Csigc::unwrap_reference< std::reference_wrapper< const T_type > > + Csigc::unwrap_reference< std::reference_wrapper< T_type > > + Csigc::visitor< T_functor >Sigc::visitor<T_functor>::do_visit_each() performs a functor on each of the targets of a functor
              diff --git a/docs/reference/html/index.html b/docs/reference/html/index.html index 0808a77..7f52b5e 100644 --- a/docs/reference/html/index.html +++ b/docs/reference/html/index.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -65,16 +65,26 @@ Basic Usage

              Include the libsigc++ header:

              #include <sigc++/sigc++.h>

              (You may include individual headers, such as sigc++/bind.h instead.)

              If your source file is program.cc, you can compile it with:

              g++ program.cc -o program `pkg-config --cflags --libs sigc++-3.0`
              -

              Alternatively, if using autoconf, use the following in configure.ac:

              PKG_CHECK_MODULES([LIBSIGC], [sigc++-3.0])
              -

              Then use the generated LIBSIGC_CFLAGS and LIBSIGC_LIBS variables in the project Makefile.am files. For example:

              program_CPPFLAGS = $(LIBSIGC_CFLAGS)
              -
              program_LDADD = $(LIBSIGC_LIBS)
              -

              +

              +Using Autotools

              +

              Alternatively, if using autoconf, use the following in configure.ac:

              PKG_CHECK_MODULES([DEPS], [sigc++-3.0])
              +

              Then use the generated DEPS_CFLAGS and DEPS_LIBS variables in the project Makefile.am files. For example:

              yourprogram_CPPFLAGS = $(DEPS_CFLAGS)
              +
              yourprogram_LDADD = $(DEPS_LIBS)
              +

              Your PKG_CHECK_MODULES() call should also mention any other libraries that you need to use via pkg-config.

              +

              +Using CMake

              +

              If using CMake, use the following in CMakeList.txt:

              include(FindPkgConfig)
              +
              pkg_check_modules(DEPS REQUIRED sigc++-3.0)
              +
              include_directories(${DEPS_INCLUDE_DIRS})
              +
              target_link_libraries(yourprogram ${DEPS_LIBRARIES})
              +

              Your pkg_check_modules() call should also mention any other libraries that you need to use via pkg-config.

              +

              Scope of Documentation

              libsigc++ contains many template functions and template classes/structs, some with many specializations. This reference manual does not show all specializations of those templates that hardly any user will use directly.

              diff --git a/docs/reference/html/inherit_graph_10.png b/docs/reference/html/inherit_graph_10.png index bfabee8..2672c41 100644 Binary files a/docs/reference/html/inherit_graph_10.png and b/docs/reference/html/inherit_graph_10.png differ diff --git a/docs/reference/html/inherit_graph_16.png b/docs/reference/html/inherit_graph_16.png index 19762f9..5b0581d 100644 Binary files a/docs/reference/html/inherit_graph_16.png and b/docs/reference/html/inherit_graph_16.png differ diff --git a/docs/reference/html/inherit_graph_17.png b/docs/reference/html/inherit_graph_17.png index 3ae4666..cde098d 100644 Binary files a/docs/reference/html/inherit_graph_17.png and b/docs/reference/html/inherit_graph_17.png differ diff --git a/docs/reference/html/inherit_graph_18.png b/docs/reference/html/inherit_graph_18.png index 2852e40..9942e77 100644 Binary files a/docs/reference/html/inherit_graph_18.png and b/docs/reference/html/inherit_graph_18.png differ diff --git a/docs/reference/html/inherit_graph_19.png b/docs/reference/html/inherit_graph_19.png index 0ea9943..e7e1232 100644 Binary files a/docs/reference/html/inherit_graph_19.png and b/docs/reference/html/inherit_graph_19.png differ diff --git a/docs/reference/html/inherit_graph_20.png b/docs/reference/html/inherit_graph_20.png index 9c9f3fd..3986500 100644 Binary files a/docs/reference/html/inherit_graph_20.png and b/docs/reference/html/inherit_graph_20.png differ diff --git a/docs/reference/html/inherit_graph_21.png b/docs/reference/html/inherit_graph_21.png index 77181f4..1668ff2 100644 Binary files a/docs/reference/html/inherit_graph_21.png and b/docs/reference/html/inherit_graph_21.png differ diff --git a/docs/reference/html/inherit_graph_22.png b/docs/reference/html/inherit_graph_22.png index 3323be3..25addc4 100644 Binary files a/docs/reference/html/inherit_graph_22.png and b/docs/reference/html/inherit_graph_22.png differ diff --git a/docs/reference/html/inherit_graph_23.png b/docs/reference/html/inherit_graph_23.png index f4f39a6..26bae5f 100644 Binary files a/docs/reference/html/inherit_graph_23.png and b/docs/reference/html/inherit_graph_23.png differ diff --git a/docs/reference/html/inherit_graph_24.png b/docs/reference/html/inherit_graph_24.png index 225fe0b..d86853c 100644 Binary files a/docs/reference/html/inherit_graph_24.png and b/docs/reference/html/inherit_graph_24.png differ diff --git a/docs/reference/html/inherit_graph_25.png b/docs/reference/html/inherit_graph_25.png index 9e38e67..643cb87 100644 Binary files a/docs/reference/html/inherit_graph_25.png and b/docs/reference/html/inherit_graph_25.png differ diff --git a/docs/reference/html/inherit_graph_26.png b/docs/reference/html/inherit_graph_26.png index e37777e..8f1357b 100644 Binary files a/docs/reference/html/inherit_graph_26.png and b/docs/reference/html/inherit_graph_26.png differ diff --git a/docs/reference/html/inherit_graph_27.png b/docs/reference/html/inherit_graph_27.png index 91cb0f6..4256f9f 100644 Binary files a/docs/reference/html/inherit_graph_27.png and b/docs/reference/html/inherit_graph_27.png differ diff --git a/docs/reference/html/inherit_graph_28.png b/docs/reference/html/inherit_graph_28.png index 6067192..05928fe 100644 Binary files a/docs/reference/html/inherit_graph_28.png and b/docs/reference/html/inherit_graph_28.png differ diff --git a/docs/reference/html/inherit_graph_29.png b/docs/reference/html/inherit_graph_29.png index 8c00014..e68480b 100644 Binary files a/docs/reference/html/inherit_graph_29.png and b/docs/reference/html/inherit_graph_29.png differ diff --git a/docs/reference/html/inherit_graph_30.png b/docs/reference/html/inherit_graph_30.png index aa5426b..2cbe89a 100644 Binary files a/docs/reference/html/inherit_graph_30.png and b/docs/reference/html/inherit_graph_30.png differ diff --git a/docs/reference/html/inherit_graph_31.png b/docs/reference/html/inherit_graph_31.png index df428e1..54f8ae0 100644 Binary files a/docs/reference/html/inherit_graph_31.png and b/docs/reference/html/inherit_graph_31.png differ diff --git a/docs/reference/html/inherit_graph_32.png b/docs/reference/html/inherit_graph_32.png deleted file mode 100644 index c05bff3..0000000 Binary files a/docs/reference/html/inherit_graph_32.png and /dev/null differ diff --git a/docs/reference/html/inherit_graph_33.png b/docs/reference/html/inherit_graph_33.png deleted file mode 100644 index ffd5bed..0000000 Binary files a/docs/reference/html/inherit_graph_33.png and /dev/null differ diff --git a/docs/reference/html/inherit_graph_34.png b/docs/reference/html/inherit_graph_34.png deleted file mode 100644 index d55f07f..0000000 Binary files a/docs/reference/html/inherit_graph_34.png and /dev/null differ diff --git a/docs/reference/html/inherit_graph_35.png b/docs/reference/html/inherit_graph_35.png deleted file mode 100644 index 8379272..0000000 Binary files a/docs/reference/html/inherit_graph_35.png and /dev/null differ diff --git a/docs/reference/html/inherit_graph_36.png b/docs/reference/html/inherit_graph_36.png deleted file mode 100644 index 7f74e52..0000000 Binary files a/docs/reference/html/inherit_graph_36.png and /dev/null differ diff --git a/docs/reference/html/inherit_graph_37.png b/docs/reference/html/inherit_graph_37.png deleted file mode 100644 index 3986500..0000000 Binary files a/docs/reference/html/inherit_graph_37.png and /dev/null differ diff --git a/docs/reference/html/inherit_graph_38.png b/docs/reference/html/inherit_graph_38.png deleted file mode 100644 index 1668ff2..0000000 Binary files a/docs/reference/html/inherit_graph_38.png and /dev/null differ diff --git a/docs/reference/html/inherit_graph_39.png b/docs/reference/html/inherit_graph_39.png deleted file mode 100644 index 25addc4..0000000 Binary files a/docs/reference/html/inherit_graph_39.png and /dev/null differ diff --git a/docs/reference/html/inherit_graph_40.png b/docs/reference/html/inherit_graph_40.png deleted file mode 100644 index 26bae5f..0000000 Binary files a/docs/reference/html/inherit_graph_40.png and /dev/null differ diff --git a/docs/reference/html/inherit_graph_41.png b/docs/reference/html/inherit_graph_41.png deleted file mode 100644 index d86853c..0000000 Binary files a/docs/reference/html/inherit_graph_41.png and /dev/null differ diff --git a/docs/reference/html/inherit_graph_42.png b/docs/reference/html/inherit_graph_42.png deleted file mode 100644 index 643cb87..0000000 Binary files a/docs/reference/html/inherit_graph_42.png and /dev/null differ diff --git a/docs/reference/html/inherit_graph_43.png b/docs/reference/html/inherit_graph_43.png deleted file mode 100644 index 8f1357b..0000000 Binary files a/docs/reference/html/inherit_graph_43.png and /dev/null differ diff --git a/docs/reference/html/inherit_graph_44.png b/docs/reference/html/inherit_graph_44.png deleted file mode 100644 index 4256f9f..0000000 Binary files a/docs/reference/html/inherit_graph_44.png and /dev/null differ diff --git a/docs/reference/html/inherit_graph_45.png b/docs/reference/html/inherit_graph_45.png deleted file mode 100644 index 05928fe..0000000 Binary files a/docs/reference/html/inherit_graph_45.png and /dev/null differ diff --git a/docs/reference/html/inherit_graph_46.png b/docs/reference/html/inherit_graph_46.png deleted file mode 100644 index e68480b..0000000 Binary files a/docs/reference/html/inherit_graph_46.png and /dev/null differ diff --git a/docs/reference/html/inherit_graph_47.png b/docs/reference/html/inherit_graph_47.png deleted file mode 100644 index 2cbe89a..0000000 Binary files a/docs/reference/html/inherit_graph_47.png and /dev/null differ diff --git a/docs/reference/html/inherit_graph_48.png b/docs/reference/html/inherit_graph_48.png deleted file mode 100644 index 54f8ae0..0000000 Binary files a/docs/reference/html/inherit_graph_48.png and /dev/null differ diff --git a/docs/reference/html/inherits.html b/docs/reference/html/inherits.html index 0d05865..41ba14e 100644 --- a/docs/reference/html/inherits.html +++ b/docs/reference/html/inherits.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -96,7 +96,7 @@ - + @@ -118,135 +118,67 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + + + - - - + + + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + @@ -254,7 +186,7 @@ diff --git a/docs/reference/html/modules.html b/docs/reference/html/modules.html index c0d80d0..f74821d 100644 --- a/docs/reference/html/modules.html +++ b/docs/reference/html/modules.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -50,19 +50,19 @@  compose()Sigc::compose() combines two or three arbitrary functors  exception_catch()Sigc::exception_catch() catches an exception thrown from within the wrapped functor and directs it to a catcher functor  hide(), hide_return()Sigc::hide() alters an arbitrary functor in that it adds a parameter whose value is ignored on invocation of the returned functor - retype(), retype_return()Sigc::retype() alters a sigc::pointer_functor, a sigc::mem_functor or a sigc::slot in that it makes C-style casts to the functor's parameter types of all parameters passed through operator()() + retype(), retype_return()Sigc::retype() alters a sigc::pointer_functor, a sigc::mem_functor or a sigc::slot in that it makes C-style casts to the functor's parameter types of all parameters passed through operator()()  track_obj()Sigc::track_obj() tracks trackable objects, referenced from a functor  FunctorsFunctors are copyable types that define operator()()  SlotsSlots are type-safe representations of callback methods and functions  mem_fun()Mem_fun() is used to convert a pointer to a method to a functor  ptr_fun()Ptr_fun() is used to convert a pointer to a function to a functor - SignalsUse sigc::signal::connect() with sigc::mem_fun() and sigc::ptr_fun() to connect a method or function with a signal + SignalsUse sigc::signal::connect() with sigc::mem_fun() and sigc::ptr_fun() to connect a method or function with a signal diff --git a/docs/reference/html/namespacemembers.html b/docs/reference/html/namespacemembers.html index 6ef0ffe..cd20761 100644 --- a/docs/reference/html/namespacemembers.html +++ b/docs/reference/html/namespacemembers.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -75,10 +75,10 @@ : sigc
            • ptr_fun() -: sigc +: sigc
            • retype() -: sigc +: sigc
            • retype_return() : sigc @@ -105,7 +105,7 @@ diff --git a/docs/reference/html/namespacemembers_func.html b/docs/reference/html/namespacemembers_func.html index 1abdd95..1af7546 100644 --- a/docs/reference/html/namespacemembers_func.html +++ b/docs/reference/html/namespacemembers_func.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -75,10 +75,10 @@ : sigc
            • ptr_fun() -: sigc +: sigc
            • retype() -: sigc +: sigc
            • retype_return() : sigc @@ -99,7 +99,7 @@ diff --git a/docs/reference/html/namespacemembers_type.html b/docs/reference/html/namespacemembers_type.html index 4f01ce1..cc54fdc 100644 --- a/docs/reference/html/namespacemembers_type.html +++ b/docs/reference/html/namespacemembers_type.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -63,7 +63,7 @@ diff --git a/docs/reference/html/namespaces.html b/docs/reference/html/namespaces.html index 3b911d2..11b8fbf 100644 --- a/docs/reference/html/namespaces.html +++ b/docs/reference/html/namespaces.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -57,7 +57,7 @@ diff --git a/docs/reference/html/namespacesigc.html b/docs/reference/html/namespacesigc.html index 8cc3ebf..0be35e1 100644 --- a/docs/reference/html/namespacesigc.html +++ b/docs/reference/html/namespacesigc.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -130,51 +130,13 @@ Classes   class  mem_functor   -struct  member_method_class -  -struct  member_method_class< T_result(T_obj::*)(T_arg...) const > -  -struct  member_method_class< T_result(T_obj::*)(T_arg...) const volatile > -  -struct  member_method_class< T_result(T_obj::*)(T_arg...) volatile > -  -struct  member_method_class< T_result(T_obj::*)(T_arg...)> -  -struct  member_method_is_const -  -struct  member_method_is_const< T_result(T_obj::*)(T_arg...) const > -  -struct  member_method_is_const< T_result(T_obj::*)(T_arg...) const volatile > -  -struct  member_method_is_const< T_result(T_obj::*)(T_arg...) volatile > -  -struct  member_method_is_const< T_result(T_obj::*)(T_arg...)> -  -struct  member_method_is_volatile -  -struct  member_method_is_volatile< T_result(T_obj::*)(T_arg...) const > -  -struct  member_method_is_volatile< T_result(T_obj::*)(T_arg...) const volatile > -  -struct  member_method_is_volatile< T_result(T_obj::*)(T_arg...) volatile > -  -struct  member_method_is_volatile< T_result(T_obj::*)(T_arg...)> -  -struct  member_method_result -  -struct  member_method_result< T_result(T_obj::*)(T_arg...) const > -  -struct  member_method_result< T_result(T_obj::*)(T_arg...) const volatile > -  -struct  member_method_result< T_result(T_obj::*)(T_arg...) volatile > -  -struct  member_method_result< T_result(T_obj::*)(T_arg...)> -  struct  notifiable   class  pointer_functor  pointer_functor wraps existing non-member functions with, or without, arguments. More...
                +class  pointer_functor< T_return(T_args...)> +  struct  retype_functor  Adaptor that performs C-style casts on the parameters passed on to the functor. More...
                @@ -185,10 +147,12 @@ Classes  Adaptor that performs a C-style cast on the return value of a functor. More...
                class  signal - Convenience wrapper for the numbered sigc::signal# templates. More...
              + signal can be used to connect() slots that are invoked during subsequent calls to emit(). More...
              +  +class  signal< T_return(T_arg...)>   struct  signal_base - Base class for the sigc::signal# templates. More...
              + Base class for the sigc::signal# templates. More...
                class  signal_with_accumulator  Signal declaration. More...
              @@ -196,6 +160,8 @@ Classes class  slot  Converts an arbitrary functor to a unified type which is opaque. More...
                +class  slot< T_return(T_arg...)> +  class  slot_base  Base type for slots. More...
                @@ -206,7 +172,7 @@ Classes  STL-style iterator for slot_list. More...
                struct  slot_list - STL-style list interface for sigc::signal#. More...
              + STL-style list interface for sigc::signal#. More...
                class  track_obj_functor  track_obj_functor wraps a functor and stores a reference to a trackable object. More...
              @@ -284,34 +250,22 @@ Functions decltype(auto) mem_fun (T_return(T_obj::* _A_func)(T_arg...))  Creates a functor of type sigc::mem_functor which wraps a method. More...
                -template<class T_return , class T_obj , class T_obj2 , class... T_arg> -decltype(auto) mem_fun (T_obj* _A_obj, T_return(T_obj2::* _A_func)(T_arg...)) - Creates a functor of type sigc::bound_mem_functor which encapsulates a method and an object instance. More...
              -  template<class T_return , class T_obj , class T_obj2 , class... T_arg> decltype(auto) mem_fun (T_obj& _A_obj, T_return(T_obj2::* _A_func)(T_arg...))  Creates a functor of type sigc::bound_mem_functor which encapsulates a method and an object instance. More...
                -template<class T_return , class... T_args> -pointer_functor< T_return, T_args...> ptr_fun (T_return(* _A_func)(T_args...)) - Creates a functor of type sigc::pointer_functor which wraps an existing non-member function. More...
              -  -template<class T_return , class... T_arg> -decltype(auto) retype (const slot< T_return, T_arg...>& _A_functor) - Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. More...
              -  -template<class T_return , class... T_arg> -decltype(auto) retype (const pointer_functor< T_return, T_arg...>& _A_functor) - Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. More...
              -  -template<class T_func , class... T_arg> -decltype(auto) retype (const mem_functor< T_func, T_arg...>& _A_functor) - Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. More...
              -  -template<class T_func , class... T_arg> -decltype(auto) retype (const bound_mem_functor< T_func, T_arg...>& _A_functor) - Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. More...
              -  +template<class T_return , class... T_args> +decltype(auto) ptr_fun (T_return(* _A_func)(T_args...)) + Creates a functor of type sigc::pointer_functor which wraps an existing non-member function. More...
              +  +template<template< class T_func, class...T_arg > class T_functor, class T_func , class... T_arg> +decltype(auto) retype (const T_functor< T_func, T_arg...>& _A_functor) + Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. More...
              +  +template<template< class T_return, class...T_arg > class T_functor, class T_return , class... T_arg> +decltype(auto) retype (const T_functor< T_return(T_arg...)>& _A_functor) + Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. More...
              +  template<class T_return , class T_functor > retype_return_functor< T_return, T_functor > retype_return (const T_functor& _A_functor)  Creates an adaptor of type sigc::retype_return_functor which performs a C-style cast on the return value of the passed functor. More...
              @@ -442,7 +396,7 @@ template <class T_type > diff --git a/docs/reference/html/pages.html b/docs/reference/html/pages.html index 0a1b778..7d7b72a 100644 --- a/docs/reference/html/pages.html +++ b/docs/reference/html/pages.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -54,7 +54,7 @@ diff --git a/docs/reference/html/since_2_2_11.html b/docs/reference/html/since_2_2_11.html index a3f23c9..5d0d090 100644 --- a/docs/reference/html/since_2_2_11.html +++ b/docs/reference/html/since_2_2_11.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -50,7 +50,7 @@ diff --git a/docs/reference/html/since_2_4.html b/docs/reference/html/since_2_4.html index f94e8bb..64c047c 100644 --- a/docs/reference/html/since_2_4.html +++ b/docs/reference/html/since_2_4.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -60,7 +60,7 @@ diff --git a/docs/reference/html/since_2_8.html b/docs/reference/html/since_2_8.html index 2c5a96f..f07590d 100644 --- a/docs/reference/html/since_2_8.html +++ b/docs/reference/html/since_2_8.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -54,7 +54,7 @@ diff --git a/docs/reference/html/structsigc_1_1adaptor__base.html b/docs/reference/html/structsigc_1_1adaptor__base.html index fdd6cac..d8b206d 100644 --- a/docs/reference/html/structsigc_1_1adaptor__base.html +++ b/docs/reference/html/structsigc_1_1adaptor__base.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -75,7 +75,7 @@ Inheritance diagram for sigc::adaptor_base: diff --git a/docs/reference/html/structsigc_1_1adaptor__functor-members.html b/docs/reference/html/structsigc_1_1adaptor__functor-members.html index e399f02..7936990 100644 --- a/docs/reference/html/structsigc_1_1adaptor__functor-members.html +++ b/docs/reference/html/structsigc_1_1adaptor__functor-members.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -68,7 +68,7 @@ diff --git a/docs/reference/html/structsigc_1_1adaptor__functor.html b/docs/reference/html/structsigc_1_1adaptor__functor.html index deafeb2..1d2ddcf 100644 --- a/docs/reference/html/structsigc_1_1adaptor__functor.html +++ b/docs/reference/html/structsigc_1_1adaptor__functor.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -319,7 +319,7 @@ template <class T_functor > diff --git a/docs/reference/html/structsigc_1_1adaptor__trait.html b/docs/reference/html/structsigc_1_1adaptor__trait.html index 9592fe5..fc27c76 100644 --- a/docs/reference/html/structsigc_1_1adaptor__trait.html +++ b/docs/reference/html/structsigc_1_1adaptor__trait.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -70,7 +70,7 @@ struct sigc::adaptor_trait< T_functor, I_isadaptor > diff --git a/docs/reference/html/structsigc_1_1adaptor__trait_3_01T__functor_00_01false_01_4-members.html b/docs/reference/html/structsigc_1_1adaptor__trait_3_01T__functor_00_01false_01_4-members.html index e2efcaa..77ada79 100644 --- a/docs/reference/html/structsigc_1_1adaptor__trait_3_01T__functor_00_01false_01_4-members.html +++ b/docs/reference/html/structsigc_1_1adaptor__trait_3_01T__functor_00_01false_01_4-members.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -64,7 +64,7 @@ diff --git a/docs/reference/html/structsigc_1_1adaptor__trait_3_01T__functor_00_01false_01_4.html b/docs/reference/html/structsigc_1_1adaptor__trait_3_01T__functor_00_01false_01_4.html index 1ec0c7c..0ad265c 100644 --- a/docs/reference/html/structsigc_1_1adaptor__trait_3_01T__functor_00_01false_01_4.html +++ b/docs/reference/html/structsigc_1_1adaptor__trait_3_01T__functor_00_01false_01_4.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -125,7 +125,7 @@ template <class T_functor > diff --git a/docs/reference/html/structsigc_1_1adaptor__trait_3_01T__functor_00_01true_01_4-members.html b/docs/reference/html/structsigc_1_1adaptor__trait_3_01T__functor_00_01true_01_4-members.html index 54938c2..a6fd181 100644 --- a/docs/reference/html/structsigc_1_1adaptor__trait_3_01T__functor_00_01true_01_4-members.html +++ b/docs/reference/html/structsigc_1_1adaptor__trait_3_01T__functor_00_01true_01_4-members.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -64,7 +64,7 @@ diff --git a/docs/reference/html/structsigc_1_1adaptor__trait_3_01T__functor_00_01true_01_4.html b/docs/reference/html/structsigc_1_1adaptor__trait_3_01T__functor_00_01true_01_4.html index e684d3a..ad2fedc 100644 --- a/docs/reference/html/structsigc_1_1adaptor__trait_3_01T__functor_00_01true_01_4.html +++ b/docs/reference/html/structsigc_1_1adaptor__trait_3_01T__functor_00_01true_01_4.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -125,7 +125,7 @@ template <class T_functor > diff --git a/docs/reference/html/structsigc_1_1adapts-members.html b/docs/reference/html/structsigc_1_1adapts-members.html index d6b026a..2089aac 100644 --- a/docs/reference/html/structsigc_1_1adapts-members.html +++ b/docs/reference/html/structsigc_1_1adapts-members.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -65,7 +65,7 @@ diff --git a/docs/reference/html/structsigc_1_1adapts.html b/docs/reference/html/structsigc_1_1adapts.html index ec0f6e3..1491323 100644 --- a/docs/reference/html/structsigc_1_1adapts.html +++ b/docs/reference/html/structsigc_1_1adapts.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -232,7 +232,7 @@ template <class T_functor> diff --git a/docs/reference/html/structsigc_1_1bind__functor-members.html b/docs/reference/html/structsigc_1_1bind__functor-members.html index b3edd6c..25bf420 100644 --- a/docs/reference/html/structsigc_1_1bind__functor-members.html +++ b/docs/reference/html/structsigc_1_1bind__functor-members.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -67,7 +67,7 @@ diff --git a/docs/reference/html/structsigc_1_1bind__functor.html b/docs/reference/html/structsigc_1_1bind__functor.html index 89e6c6a..b579f6f 100644 --- a/docs/reference/html/structsigc_1_1bind__functor.html +++ b/docs/reference/html/structsigc_1_1bind__functor.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -232,7 +232,7 @@ template <class... T_arg> diff --git a/docs/reference/html/structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type_8_8_8_4-members.html b/docs/reference/html/structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type_8_8_8_4-members.html index 383d561..16a60ee 100644 --- a/docs/reference/html/structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type_8_8_8_4-members.html +++ b/docs/reference/html/structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type_8_8_8_4-members.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -68,7 +68,7 @@ diff --git a/docs/reference/html/structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type_8_8_8_4.html b/docs/reference/html/structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type_8_8_8_4.html index 9dfd796..41b4148 100644 --- a/docs/reference/html/structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type_8_8_8_4.html +++ b/docs/reference/html/structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type_8_8_8_4.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -248,7 +248,7 @@ template <class T_functor , class... T_type> diff --git a/docs/reference/html/structsigc_1_1bind__return__functor-members.html b/docs/reference/html/structsigc_1_1bind__return__functor-members.html index b820b32..b0ff29b 100644 --- a/docs/reference/html/structsigc_1_1bind__return__functor-members.html +++ b/docs/reference/html/structsigc_1_1bind__return__functor-members.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -69,7 +69,7 @@ diff --git a/docs/reference/html/structsigc_1_1bind__return__functor.html b/docs/reference/html/structsigc_1_1bind__return__functor.html index 91f0a5a..caca73c 100644 --- a/docs/reference/html/structsigc_1_1bind__return__functor.html +++ b/docs/reference/html/structsigc_1_1bind__return__functor.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -259,7 +259,7 @@ template <class T_return , class T_functor > diff --git a/docs/reference/html/structsigc_1_1compose1__functor-members.html b/docs/reference/html/structsigc_1_1compose1__functor-members.html index e5a10d4..1a393f2 100644 --- a/docs/reference/html/structsigc_1_1compose1__functor-members.html +++ b/docs/reference/html/structsigc_1_1compose1__functor-members.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -71,7 +71,7 @@ diff --git a/docs/reference/html/structsigc_1_1compose1__functor.html b/docs/reference/html/structsigc_1_1compose1__functor.html index 3ad5c25..32cf6bd 100644 --- a/docs/reference/html/structsigc_1_1compose1__functor.html +++ b/docs/reference/html/structsigc_1_1compose1__functor.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -298,7 +298,7 @@ template <class T_setter , class T_getter > diff --git a/docs/reference/html/structsigc_1_1compose2__functor-members.html b/docs/reference/html/structsigc_1_1compose2__functor-members.html index 7184361..7a13b24 100644 --- a/docs/reference/html/structsigc_1_1compose2__functor-members.html +++ b/docs/reference/html/structsigc_1_1compose2__functor-members.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -73,7 +73,7 @@ diff --git a/docs/reference/html/structsigc_1_1compose2__functor.html b/docs/reference/html/structsigc_1_1compose2__functor.html index 5143545..0d6b06a 100644 --- a/docs/reference/html/structsigc_1_1compose2__functor.html +++ b/docs/reference/html/structsigc_1_1compose2__functor.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -338,7 +338,7 @@ template <class T_setter , class T_getter1 , class T_getter2 > diff --git a/docs/reference/html/structsigc_1_1connection-members.html b/docs/reference/html/structsigc_1_1connection-members.html index 8962b47..9767b3d 100644 --- a/docs/reference/html/structsigc_1_1connection-members.html +++ b/docs/reference/html/structsigc_1_1connection-members.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -77,7 +77,7 @@ diff --git a/docs/reference/html/structsigc_1_1connection.html b/docs/reference/html/structsigc_1_1connection.html index 7645527..3b69ec4 100644 --- a/docs/reference/html/structsigc_1_1connection.html +++ b/docs/reference/html/structsigc_1_1connection.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -539,7 +539,7 @@ template <typename T_slot > diff --git a/docs/reference/html/structsigc_1_1exception__catch__functor-members.html b/docs/reference/html/structsigc_1_1exception__catch__functor-members.html index 76f5101..e925cef 100644 --- a/docs/reference/html/structsigc_1_1exception__catch__functor-members.html +++ b/docs/reference/html/structsigc_1_1exception__catch__functor-members.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -69,7 +69,7 @@ diff --git a/docs/reference/html/structsigc_1_1exception__catch__functor.html b/docs/reference/html/structsigc_1_1exception__catch__functor.html index 80c4b93..4b64ff6 100644 --- a/docs/reference/html/structsigc_1_1exception__catch__functor.html +++ b/docs/reference/html/structsigc_1_1exception__catch__functor.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -243,7 +243,7 @@ template <class T_functor , class T_catcher , class T_return = typename adap diff --git a/docs/reference/html/structsigc_1_1exception__catch__functor_3_01T__functor_00_01T__catcher_00_01void_01_4-members.html b/docs/reference/html/structsigc_1_1exception__catch__functor_3_01T__functor_00_01T__catcher_00_01void_01_4-members.html index 5ac0a9d..b105a84 100644 --- a/docs/reference/html/structsigc_1_1exception__catch__functor_3_01T__functor_00_01T__catcher_00_01void_01_4-members.html +++ b/docs/reference/html/structsigc_1_1exception__catch__functor_3_01T__functor_00_01T__catcher_00_01void_01_4-members.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -70,7 +70,7 @@ diff --git a/docs/reference/html/structsigc_1_1exception__catch__functor_3_01T__functor_00_01T__catcher_00_01void_01_4.html b/docs/reference/html/structsigc_1_1exception__catch__functor_3_01T__functor_00_01T__catcher_00_01void_01_4.html index fa1213a..004a2ce 100644 --- a/docs/reference/html/structsigc_1_1exception__catch__functor_3_01T__functor_00_01T__catcher_00_01void_01_4.html +++ b/docs/reference/html/structsigc_1_1exception__catch__functor_3_01T__functor_00_01T__catcher_00_01void_01_4.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -270,7 +270,7 @@ template <class T_functor , class T_catcher > diff --git a/docs/reference/html/structsigc_1_1functor__base.html b/docs/reference/html/structsigc_1_1functor__base.html index 41cb4f5..14e0c96 100644 --- a/docs/reference/html/structsigc_1_1functor__base.html +++ b/docs/reference/html/structsigc_1_1functor__base.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -65,7 +65,7 @@ Inheritance diagram for sigc::functor_base:
              Inheritance graph
              - +
              [legend]

              Detailed Description

              A hint to the compiler.

              @@ -73,7 +73,7 @@ Inheritance diagram for sigc::functor_base:
              diff --git a/docs/reference/html/structsigc_1_1functor__base__inherit__graph.png b/docs/reference/html/structsigc_1_1functor__base__inherit__graph.png index 5f17029..ca27065 100644 Binary files a/docs/reference/html/structsigc_1_1functor__base__inherit__graph.png and b/docs/reference/html/structsigc_1_1functor__base__inherit__graph.png differ diff --git a/docs/reference/html/structsigc_1_1functor__trait-members.html b/docs/reference/html/structsigc_1_1functor__trait-members.html index 09da30b..972a442 100644 --- a/docs/reference/html/structsigc_1_1functor__trait-members.html +++ b/docs/reference/html/structsigc_1_1functor__trait-members.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -63,7 +63,7 @@ diff --git a/docs/reference/html/structsigc_1_1functor__trait.html b/docs/reference/html/structsigc_1_1functor__trait.html index 0f9a180..4645895 100644 --- a/docs/reference/html/structsigc_1_1functor__trait.html +++ b/docs/reference/html/structsigc_1_1functor__trait.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -117,7 +117,7 @@ template <class T_functor, bool I_derives_functor_base = std::is_base_of<f diff --git a/docs/reference/html/structsigc_1_1hide__functor-members.html b/docs/reference/html/structsigc_1_1hide__functor-members.html index 4105552..c740a60 100644 --- a/docs/reference/html/structsigc_1_1hide__functor-members.html +++ b/docs/reference/html/structsigc_1_1hide__functor-members.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -67,7 +67,7 @@ diff --git a/docs/reference/html/structsigc_1_1hide__functor.html b/docs/reference/html/structsigc_1_1hide__functor.html index 4f4df37..c126d2b 100644 --- a/docs/reference/html/structsigc_1_1hide__functor.html +++ b/docs/reference/html/structsigc_1_1hide__functor.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -221,7 +221,7 @@ template <class... T_arg> diff --git a/docs/reference/html/structsigc_1_1member__method__class.html b/docs/reference/html/structsigc_1_1member__method__class.html deleted file mode 100644 index 0f23233..0000000 --- a/docs/reference/html/structsigc_1_1member__method__class.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - -libsigc++: sigc::member_method_class< T_result, T_arg > Struct Template Reference - - - - - - - -
              -
              - - - - - - -
              -
              libsigc++ -  2.99.1 -
              -
              -
              - - - - - -
              -
              -
              -
              sigc::member_method_class< T_result, T_arg > Struct Template Reference
              -
              -
              - -

              #include <sigc++/member_method_trait.h>

              -
              - - - - diff --git a/docs/reference/html/structsigc_1_1member__method__class_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4-members.html b/docs/reference/html/structsigc_1_1member__method__class_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4-members.html deleted file mode 100644 index 7ba31d6..0000000 --- a/docs/reference/html/structsigc_1_1member__method__class_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4-members.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - -libsigc++: Member List - - - - - - - - -
              -
              -
              sigc::member_method_class< T_result(T_obj::*)(T_arg...)> Member List
              -
              -
              - -

              This is the complete list of members for sigc::member_method_class< T_result(T_obj::*)(T_arg...)>, including all inherited members.

              - - -
              type typedefsigc::member_method_class< T_result(T_obj::*)(T_arg...)>
              - - - - diff --git a/docs/reference/html/structsigc_1_1member__method__class_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html b/docs/reference/html/structsigc_1_1member__method__class_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html deleted file mode 100644 index acce827..0000000 --- a/docs/reference/html/structsigc_1_1member__method__class_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - -libsigc++: sigc::member_method_class< T_result(T_obj::*)(T_arg...)> Struct Template Reference - - - - - - - - -
              - -
              -
              sigc::member_method_class< T_result(T_obj::*)(T_arg...)> Struct Template Reference
              -
              -
              - -

              #include <sigc++/member_method_trait.h>

              - - - - -

              -Public Types

              using type = T_obj
               
              -

              Member Typedef Documentation

              - -
              -
              -
              -template <class T_obj , class T_result , class... T_arg>
              - - - - -
              using sigc::member_method_class< T_result(T_obj::*)(T_arg...)>::type = T_obj
              -
              - -
              -
              -
              - - - - diff --git a/docs/reference/html/structsigc_1_1member__method__is__const.html b/docs/reference/html/structsigc_1_1member__method__is__const.html deleted file mode 100644 index 91a6947..0000000 --- a/docs/reference/html/structsigc_1_1member__method__is__const.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - -libsigc++: sigc::member_method_is_const< class > Struct Template Reference - - - - - - - -
              -
              - - - - - - -
              -
              libsigc++ -  2.99.1 -
              -
              -
              - - - - - -
              -
              -
              -
              sigc::member_method_is_const< class > Struct Template Reference
              -
              -
              - -

              #include <sigc++/member_method_trait.h>

              -
              - - - - diff --git a/docs/reference/html/structsigc_1_1member__method__is__const_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html b/docs/reference/html/structsigc_1_1member__method__is__const_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html deleted file mode 100644 index 4df3fb1..0000000 --- a/docs/reference/html/structsigc_1_1member__method__is__const_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - -libsigc++: sigc::member_method_is_const< T_result(T_obj::*)(T_arg...)> Struct Template Reference - - - - - - - - -
              - -
              -
              sigc::member_method_is_const< T_result(T_obj::*)(T_arg...)> Struct Template Reference
              -
              -
              - -

              #include <sigc++/member_method_trait.h>

              - - - - -

              -Static Public Attributes

              static constexpr bool value = false
               
              -

              Member Data Documentation

              - -
              -
              -
              -template <class T_obj , class T_result , class... T_arg>
              - - - - - -
              - - - - -
              constexpr bool sigc::member_method_is_const< T_result(T_obj::*)(T_arg...)>::value = false
              -
              -static
              -
              - -
              -
              -
              - - - - diff --git a/docs/reference/html/structsigc_1_1member__method__is__volatile.html b/docs/reference/html/structsigc_1_1member__method__is__volatile.html deleted file mode 100644 index 48f4197..0000000 --- a/docs/reference/html/structsigc_1_1member__method__is__volatile.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - -libsigc++: sigc::member_method_is_volatile< class > Struct Template Reference - - - - - - - -
              -
              - - - - - - -
              -
              libsigc++ -  2.99.1 -
              -
              -
              - - - - - -
              -
              -
              -
              sigc::member_method_is_volatile< class > Struct Template Reference
              -
              -
              - -

              #include <sigc++/member_method_trait.h>

              -
              - - - - diff --git a/docs/reference/html/structsigc_1_1member__method__is__volatile_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html b/docs/reference/html/structsigc_1_1member__method__is__volatile_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html deleted file mode 100644 index 2aaa276..0000000 --- a/docs/reference/html/structsigc_1_1member__method__is__volatile_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - -libsigc++: sigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...)> Struct Template Reference - - - - - - - - -
              - -
              -
              sigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...)> Struct Template Reference
              -
              -
              - -

              #include <sigc++/member_method_trait.h>

              - - - - -

              -Static Public Attributes

              static constexpr bool value = false
               
              -

              Member Data Documentation

              - -
              -
              -
              -template <class T_obj , class T_result , class... T_arg>
              - - - - - -
              - - - - -
              constexpr bool sigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...)>::value = false
              -
              -static
              -
              - -
              -
              -
              - - - - diff --git a/docs/reference/html/structsigc_1_1member__method__result.html b/docs/reference/html/structsigc_1_1member__method__result.html deleted file mode 100644 index ece7c4e..0000000 --- a/docs/reference/html/structsigc_1_1member__method__result.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - -libsigc++: sigc::member_method_result< T_result, T_arg > Struct Template Reference - - - - - - - -
              -
              - - - - - - -
              -
              libsigc++ -  2.99.1 -
              -
              -
              - - - - - -
              -
              -
              -
              sigc::member_method_result< T_result, T_arg > Struct Template Reference
              -
              -
              - -

              #include <sigc++/member_method_trait.h>

              -
              - - - - diff --git a/docs/reference/html/structsigc_1_1member__method__result_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html b/docs/reference/html/structsigc_1_1member__method__result_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html deleted file mode 100644 index 52d3e0d..0000000 --- a/docs/reference/html/structsigc_1_1member__method__result_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - -libsigc++: sigc::member_method_result< T_result(T_obj::*)(T_arg...)> Struct Template Reference - - - - - - - - -
              - -
              -
              sigc::member_method_result< T_result(T_obj::*)(T_arg...)> Struct Template Reference
              -
              -
              - -

              #include <sigc++/member_method_trait.h>

              - - - - -

              -Public Types

              using type = T_result
               
              -

              Member Typedef Documentation

              - -
              -
              -
              -template <class T_obj , class T_result , class... T_arg>
              - - - - -
              using sigc::member_method_result< T_result(T_obj::*)(T_arg...)>::type = T_result
              -
              - -
              -
              -
              - - - - diff --git a/docs/reference/html/structsigc_1_1notifiable-members.html b/docs/reference/html/structsigc_1_1notifiable-members.html index 3abd894..47524e7 100644 --- a/docs/reference/html/structsigc_1_1notifiable-members.html +++ b/docs/reference/html/structsigc_1_1notifiable-members.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -62,7 +62,7 @@ diff --git a/docs/reference/html/structsigc_1_1notifiable.html b/docs/reference/html/structsigc_1_1notifiable.html index 2262346..aca7f19 100644 --- a/docs/reference/html/structsigc_1_1notifiable.html +++ b/docs/reference/html/structsigc_1_1notifiable.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -65,7 +65,7 @@ Inheritance diagram for sigc::notifiable:
              Inheritance graph
              - +
              [legend]
              diff --git a/docs/reference/html/structsigc_1_1notifiable__inherit__graph.png b/docs/reference/html/structsigc_1_1notifiable__inherit__graph.png index 37e4429..27bf51b 100644 Binary files a/docs/reference/html/structsigc_1_1notifiable__inherit__graph.png and b/docs/reference/html/structsigc_1_1notifiable__inherit__graph.png differ diff --git a/docs/reference/html/structsigc_1_1retype__functor-members.html b/docs/reference/html/structsigc_1_1retype__functor-members.html index d3d3039..4b3d252 100644 --- a/docs/reference/html/structsigc_1_1retype__functor-members.html +++ b/docs/reference/html/structsigc_1_1retype__functor-members.html @@ -19,7 +19,7 @@ @@ -67,7 +67,7 @@

              @@ -89,7 +89,7 @@ Public Types

              libsigc++ -  2.99.1 +  2.99.2
              diff --git a/docs/reference/html/structsigc_1_1retype__functor.html b/docs/reference/html/structsigc_1_1retype__functor.html index 72c24ac..10d6c2f 100644 --- a/docs/reference/html/structsigc_1_1retype__functor.html +++ b/docs/reference/html/structsigc_1_1retype__functor.html @@ -19,7 +19,7 @@
              libsigc++ -  2.99.1 +  2.99.2
              @@ -109,7 +109,7 @@ Additional Inherited Members struct sigc::retype_functor< T_functor, T_type >

              Adaptor that performs C-style casts on the parameters passed on to the functor.

              -

              Use the convenience function sigc::retype() to create an instance of retype_functor.

              +

              Use the convenience function sigc::retype() to create an instance of retype_functor.

              The following template arguments are used:

              • T_functor Type of the functor to wrap.
              • T_type Types of T_functor's arguments.
              • @@ -210,7 +210,7 @@ template <class... T_arg> diff --git a/docs/reference/html/structsigc_1_1retype__return__functor-members.html b/docs/reference/html/structsigc_1_1retype__return__functor-members.html index bc81c9a..8a8689a 100644 --- a/docs/reference/html/structsigc_1_1retype__return__functor-members.html +++ b/docs/reference/html/structsigc_1_1retype__return__functor-members.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -69,7 +69,7 @@ diff --git a/docs/reference/html/structsigc_1_1retype__return__functor.html b/docs/reference/html/structsigc_1_1retype__return__functor.html index f75c2d8..9bb2a30 100644 --- a/docs/reference/html/structsigc_1_1retype__return__functor.html +++ b/docs/reference/html/structsigc_1_1retype__return__functor.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -240,7 +240,7 @@ template <class... T_arg> diff --git a/docs/reference/html/structsigc_1_1retype__return__functor_3_01void_00_01T__functor_01_4-members.html b/docs/reference/html/structsigc_1_1retype__return__functor_3_01void_00_01T__functor_01_4-members.html index a93fa18..cd1d188 100644 --- a/docs/reference/html/structsigc_1_1retype__return__functor_3_01void_00_01T__functor_01_4-members.html +++ b/docs/reference/html/structsigc_1_1retype__return__functor_3_01void_00_01T__functor_01_4-members.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -69,7 +69,7 @@ diff --git a/docs/reference/html/structsigc_1_1retype__return__functor_3_01void_00_01T__functor_01_4.html b/docs/reference/html/structsigc_1_1retype__return__functor_3_01void_00_01T__functor_01_4.html index e84fc3c..aecf530 100644 --- a/docs/reference/html/structsigc_1_1retype__return__functor_3_01void_00_01T__functor_01_4.html +++ b/docs/reference/html/structsigc_1_1retype__return__functor_3_01void_00_01T__functor_01_4.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -227,7 +227,7 @@ template <class... T_arg> diff --git a/docs/reference/html/structsigc_1_1signal__base-members.html b/docs/reference/html/structsigc_1_1signal__base-members.html index 14a782e..963f535 100644 --- a/docs/reference/html/structsigc_1_1signal__base-members.html +++ b/docs/reference/html/structsigc_1_1signal__base-members.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -92,7 +92,7 @@ diff --git a/docs/reference/html/structsigc_1_1signal__base.html b/docs/reference/html/structsigc_1_1signal__base.html index f9ae79e..5c5388c 100644 --- a/docs/reference/html/structsigc_1_1signal__base.html +++ b/docs/reference/html/structsigc_1_1signal__base.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -63,7 +63,7 @@
                -

                Base class for the sigc::signal# templates. +

                Base class for the sigc::signal# templates. More...

                #include <sigc++/signal_base.h>

                @@ -72,7 +72,7 @@ Inheritance diagram for sigc::signal_base:
                Inheritance graph
                - +
                [legend]

                @@ -174,9 +174,9 @@ Protected Attributes

                 

                Detailed Description

                -

                Base class for the sigc::signal# templates.

                -

                signal_base integrates most of the interface of the derived sigc::signal# templates. The implementation, however, resides in sigc::internal::signal_impl. A sigc::internal::signal_impl object is dynamically allocated from signal_base when first connecting a slot to the signal. This ensures that empty signals don't waste memory.

                -

                sigc::internal::signal_impl is reference-counted. When a sigc::signal# object is copied, the reference count of its sigc::internal::signal_impl object is incremented. Both sigc::signal# objects then refer to the same sigc::internal::signal_impl object.

                +

                Base class for the sigc::signal# templates.

                +

                signal_base integrates most of the interface of the derived sigc::signal# templates. The implementation, however, resides in sigc::internal::signal_impl. A sigc::internal::signal_impl object is dynamically allocated from signal_base when first connecting a slot to the signal. This ensures that empty signals don't waste memory.

                +

                sigc::internal::signal_impl is reference-counted. When a sigc::signal# object is copied, the reference count of its sigc::internal::signal_impl object is incremented. Both sigc::signal# objects then refer to the same sigc::internal::signal_impl object.

                Member Typedef Documentation

                @@ -718,7 +718,7 @@ Protected Attributes
                diff --git a/docs/reference/html/structsigc_1_1signal__base__inherit__graph.png b/docs/reference/html/structsigc_1_1signal__base__inherit__graph.png index abe221f..abcaf84 100644 Binary files a/docs/reference/html/structsigc_1_1signal__base__inherit__graph.png and b/docs/reference/html/structsigc_1_1signal__base__inherit__graph.png differ diff --git a/docs/reference/html/structsigc_1_1slot__const__iterator-members.html b/docs/reference/html/structsigc_1_1slot__const__iterator-members.html index d0231d9..ea2f2ca 100644 --- a/docs/reference/html/structsigc_1_1slot__const__iterator-members.html +++ b/docs/reference/html/structsigc_1_1slot__const__iterator-members.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -80,7 +80,7 @@
                diff --git a/docs/reference/html/structsigc_1_1slot__const__iterator.html b/docs/reference/html/structsigc_1_1slot__const__iterator.html index a0daefb..6549b25 100644 --- a/docs/reference/html/structsigc_1_1slot__const__iterator.html +++ b/docs/reference/html/structsigc_1_1slot__const__iterator.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -506,7 +506,7 @@ template <typename T_slot > diff --git a/docs/reference/html/structsigc_1_1slot__iterator-members.html b/docs/reference/html/structsigc_1_1slot__iterator-members.html index ee6901c..fc62f83 100644 --- a/docs/reference/html/structsigc_1_1slot__iterator-members.html +++ b/docs/reference/html/structsigc_1_1slot__iterator-members.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -80,7 +80,7 @@ diff --git a/docs/reference/html/structsigc_1_1slot__iterator.html b/docs/reference/html/structsigc_1_1slot__iterator.html index 17196dd..c6343c8 100644 --- a/docs/reference/html/structsigc_1_1slot__iterator.html +++ b/docs/reference/html/structsigc_1_1slot__iterator.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -506,7 +506,7 @@ template <typename T_slot > diff --git a/docs/reference/html/structsigc_1_1slot__list-members.html b/docs/reference/html/structsigc_1_1slot__list-members.html index af447b1..d36af37 100644 --- a/docs/reference/html/structsigc_1_1slot__list-members.html +++ b/docs/reference/html/structsigc_1_1slot__list-members.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -93,7 +93,7 @@ diff --git a/docs/reference/html/structsigc_1_1slot__list.html b/docs/reference/html/structsigc_1_1slot__list.html index abfdee1..a62835c 100644 --- a/docs/reference/html/structsigc_1_1slot__list.html +++ b/docs/reference/html/structsigc_1_1slot__list.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -61,7 +61,7 @@
                -

                STL-style list interface for sigc::signal#. +

                STL-style list interface for sigc::signal#. More...

                #include <sigc++/signal.h>

                @@ -143,7 +143,7 @@ Protected Attributes

                template<class T_slot>
                struct sigc::slot_list< T_slot >

                -

                STL-style list interface for sigc::signal#.

                +

                STL-style list interface for sigc::signal#.

                slot_list can be used to iterate over the list of slots that is managed by a signal. Slots can be added or removed from the list while existing iterators stay valid. A slot_list object can be retrieved from the signal's slots() function.

                Member Typedef Documentation

                @@ -911,7 +911,7 @@ template <class T_slot >
                diff --git a/docs/reference/html/structsigc_1_1trackable-members.html b/docs/reference/html/structsigc_1_1trackable-members.html index b9ddade..4d5d455 100644 --- a/docs/reference/html/structsigc_1_1trackable-members.html +++ b/docs/reference/html/structsigc_1_1trackable-members.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -71,7 +71,7 @@ diff --git a/docs/reference/html/structsigc_1_1trackable.html b/docs/reference/html/structsigc_1_1trackable.html index eba61f8..687174e 100644 --- a/docs/reference/html/structsigc_1_1trackable.html +++ b/docs/reference/html/structsigc_1_1trackable.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -69,7 +69,7 @@ Inheritance diagram for sigc::trackable:
                Inheritance graph
                - +
                [legend]
                diff --git a/docs/reference/html/structsigc_1_1trackable__inherit__graph.png b/docs/reference/html/structsigc_1_1trackable__inherit__graph.png index 5739645..d333ec4 100644 Binary files a/docs/reference/html/structsigc_1_1trackable__inherit__graph.png and b/docs/reference/html/structsigc_1_1trackable__inherit__graph.png differ diff --git a/docs/reference/html/structsigc_1_1type__trait-members.html b/docs/reference/html/structsigc_1_1type__trait-members.html index e2bb19a..b3860df 100644 --- a/docs/reference/html/structsigc_1_1type__trait-members.html +++ b/docs/reference/html/structsigc_1_1type__trait-members.html @@ -19,7 +19,7 @@ @@ -63,7 +63,7 @@

                @@ -314,7 +314,7 @@ Public Member Functions

                libsigc++ -  2.99.1 +  2.99.2
                diff --git a/docs/reference/html/structsigc_1_1type__trait.html b/docs/reference/html/structsigc_1_1type__trait.html index 944c344..354efcb 100644 --- a/docs/reference/html/structsigc_1_1type__trait.html +++ b/docs/reference/html/structsigc_1_1type__trait.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -100,7 +100,7 @@ template <class T_type > diff --git a/docs/reference/html/structsigc_1_1type__trait_3_01T__type[N]_4-members.html b/docs/reference/html/structsigc_1_1type__trait_3_01T__type[N]_4-members.html index 1658e14..f5272c7 100644 --- a/docs/reference/html/structsigc_1_1type__trait_3_01T__type[N]_4-members.html +++ b/docs/reference/html/structsigc_1_1type__trait_3_01T__type[N]_4-members.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -63,7 +63,7 @@ diff --git a/docs/reference/html/structsigc_1_1type__trait_3_01T__type[N]_4.html b/docs/reference/html/structsigc_1_1type__trait_3_01T__type[N]_4.html index a168295..e9e8767 100644 --- a/docs/reference/html/structsigc_1_1type__trait_3_01T__type[N]_4.html +++ b/docs/reference/html/structsigc_1_1type__trait_3_01T__type[N]_4.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -100,7 +100,7 @@ template <class T_type , int N> diff --git a/docs/reference/html/structsigc_1_1type__trait_3_01T__type_01_6_01_4-members.html b/docs/reference/html/structsigc_1_1type__trait_3_01T__type_01_6_01_4-members.html index 287731d..295a28b 100644 --- a/docs/reference/html/structsigc_1_1type__trait_3_01T__type_01_6_01_4-members.html +++ b/docs/reference/html/structsigc_1_1type__trait_3_01T__type_01_6_01_4-members.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -63,7 +63,7 @@ diff --git a/docs/reference/html/structsigc_1_1type__trait_3_01T__type_01_6_01_4.html b/docs/reference/html/structsigc_1_1type__trait_3_01T__type_01_6_01_4.html index 4607aab..32fdec0 100644 --- a/docs/reference/html/structsigc_1_1type__trait_3_01T__type_01_6_01_4.html +++ b/docs/reference/html/structsigc_1_1type__trait_3_01T__type_01_6_01_4.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -100,7 +100,7 @@ template <class T_type > diff --git a/docs/reference/html/structsigc_1_1type__trait_3_01const_01T__type_01_6_01_4-members.html b/docs/reference/html/structsigc_1_1type__trait_3_01const_01T__type_01_6_01_4-members.html index 53f5630..3426fab 100644 --- a/docs/reference/html/structsigc_1_1type__trait_3_01const_01T__type_01_6_01_4-members.html +++ b/docs/reference/html/structsigc_1_1type__trait_3_01const_01T__type_01_6_01_4-members.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -63,7 +63,7 @@ diff --git a/docs/reference/html/structsigc_1_1type__trait_3_01const_01T__type_01_6_01_4.html b/docs/reference/html/structsigc_1_1type__trait_3_01const_01T__type_01_6_01_4.html index 6d15d51..715c496 100644 --- a/docs/reference/html/structsigc_1_1type__trait_3_01const_01T__type_01_6_01_4.html +++ b/docs/reference/html/structsigc_1_1type__trait_3_01const_01T__type_01_6_01_4.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -100,7 +100,7 @@ template <class T_type > diff --git a/docs/reference/html/structsigc_1_1type__trait_3_01void_01_4-members.html b/docs/reference/html/structsigc_1_1type__trait_3_01void_01_4-members.html index 9e1ca3a..00857f2 100644 --- a/docs/reference/html/structsigc_1_1type__trait_3_01void_01_4-members.html +++ b/docs/reference/html/structsigc_1_1type__trait_3_01void_01_4-members.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -63,7 +63,7 @@ diff --git a/docs/reference/html/structsigc_1_1type__trait_3_01void_01_4.html b/docs/reference/html/structsigc_1_1type__trait_3_01void_01_4.html index cfc4d9c..42666a5 100644 --- a/docs/reference/html/structsigc_1_1type__trait_3_01void_01_4.html +++ b/docs/reference/html/structsigc_1_1type__trait_3_01void_01_4.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -96,7 +96,7 @@ Public Types diff --git a/docs/reference/html/structsigc_1_1unwrap__reference-members.html b/docs/reference/html/structsigc_1_1unwrap__reference-members.html index f23d27e..6ddfd7a 100644 --- a/docs/reference/html/structsigc_1_1unwrap__reference-members.html +++ b/docs/reference/html/structsigc_1_1unwrap__reference-members.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -62,7 +62,7 @@ diff --git a/docs/reference/html/structsigc_1_1unwrap__reference.html b/docs/reference/html/structsigc_1_1unwrap__reference.html index 45274a9..34faa17 100644 --- a/docs/reference/html/structsigc_1_1unwrap__reference.html +++ b/docs/reference/html/structsigc_1_1unwrap__reference.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -84,7 +84,7 @@ template <class T_type > diff --git a/docs/reference/html/structsigc_1_1unwrap__reference_3_01std_1_1reference__wrapper_3_01T__type_01_4_01_4-members.html b/docs/reference/html/structsigc_1_1unwrap__reference_3_01std_1_1reference__wrapper_3_01T__type_01_4_01_4-members.html index 808b6dd..c50ff0d 100644 --- a/docs/reference/html/structsigc_1_1unwrap__reference_3_01std_1_1reference__wrapper_3_01T__type_01_4_01_4-members.html +++ b/docs/reference/html/structsigc_1_1unwrap__reference_3_01std_1_1reference__wrapper_3_01T__type_01_4_01_4-members.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -62,7 +62,7 @@ diff --git a/docs/reference/html/structsigc_1_1unwrap__reference_3_01std_1_1reference__wrapper_3_01T__type_01_4_01_4.html b/docs/reference/html/structsigc_1_1unwrap__reference_3_01std_1_1reference__wrapper_3_01T__type_01_4_01_4.html index 0ead5ef..12c17d1 100644 --- a/docs/reference/html/structsigc_1_1unwrap__reference_3_01std_1_1reference__wrapper_3_01T__type_01_4_01_4.html +++ b/docs/reference/html/structsigc_1_1unwrap__reference_3_01std_1_1reference__wrapper_3_01T__type_01_4_01_4.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -84,7 +84,7 @@ template <class T_type > diff --git a/docs/reference/html/structsigc_1_1unwrap__reference_3_01std_1_1reference__wrapper_3_01const_01T__type_01_4_01_4.html b/docs/reference/html/structsigc_1_1unwrap__reference_3_01std_1_1reference__wrapper_3_01const_01T__type_01_4_01_4.html index 4eaa807..e770393 100644 --- a/docs/reference/html/structsigc_1_1unwrap__reference_3_01std_1_1reference__wrapper_3_01const_01T__type_01_4_01_4.html +++ b/docs/reference/html/structsigc_1_1unwrap__reference_3_01std_1_1reference__wrapper_3_01const_01T__type_01_4_01_4.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -84,7 +84,7 @@ template <class T_type > diff --git a/docs/reference/html/structsigc_1_1visitor-members.html b/docs/reference/html/structsigc_1_1visitor-members.html index 606db41..dccfbe4 100644 --- a/docs/reference/html/structsigc_1_1visitor-members.html +++ b/docs/reference/html/structsigc_1_1visitor-members.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -62,7 +62,7 @@ diff --git a/docs/reference/html/structsigc_1_1visitor.html b/docs/reference/html/structsigc_1_1visitor.html index 3de621a..d327458 100644 --- a/docs/reference/html/structsigc_1_1visitor.html +++ b/docs/reference/html/structsigc_1_1visitor.html @@ -19,7 +19,7 @@
                libsigc++ -  2.99.1 +  2.99.2
                @@ -143,7 +143,7 @@ template <class T_action > diff --git a/docs/reference/libsigc++-3.0.devhelp2 b/docs/reference/libsigc++-3.0.devhelp2 index f7b4afc..462d447 100644 --- a/docs/reference/libsigc++-3.0.devhelp2 +++ b/docs/reference/libsigc++-3.0.devhelp2 @@ -171,42 +171,25 @@ - - - - - - - - - - - - - - - - - - - - + - - - + + + + + @@ -267,12 +250,11 @@ - - - + + + - @@ -324,10 +306,10 @@ - + - + @@ -398,48 +380,20 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -458,15 +412,16 @@ - - - - - - - - - + + + + + + + + + + @@ -496,7 +451,7 @@ - + @@ -511,14 +466,15 @@ - - - - - - - - + + + + + + + + + @@ -655,7 +611,7 @@ - + @@ -677,7 +633,7 @@ - + @@ -703,13 +659,10 @@ - - - - - - + + + diff --git a/docs/reference/libsigc++-3.0.tag b/docs/reference/libsigc++-3.0.tag index 9bb5d4b..ad4ea1a 100644 --- a/docs/reference/libsigc++-3.0.tag +++ b/docs/reference/libsigc++-3.0.tag @@ -2,14 +2,14 @@ adaptor_base.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/adaptors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/adaptors/ adaptor__base_8h sigc::adaptor_base sigc adaptor_trait.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/adaptors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/adaptors/ adaptor__trait_8h sigc::adaptor_functor sigc::adaptor_trait @@ -20,12 +20,12 @@ adaptors.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/adaptors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/adaptors/ adaptors_8h bound_argument.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/adaptors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/adaptors/ bound__argument_8h sigc::bound_argument sigc::bound_argument< std::reference_wrapper< const T_wrapped > > @@ -34,7 +34,7 @@ compose.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/adaptors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/adaptors/ compose_8h sigc::compose1_functor sigc::compose2_functor @@ -56,7 +56,7 @@ exception_catch.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/adaptors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/adaptors/ exception__catch_8h sigc::exception_catch_functor sigc::exception_catch_functor< T_functor, T_catcher, void > @@ -71,7 +71,7 @@ hide.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/adaptors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/adaptors/ hide_8h sigc::hide_functor sigc @@ -92,7 +92,7 @@ retype.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/adaptors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/adaptors/ retype_8h sigc::retype_functor sigc @@ -100,34 +100,20 @@ decltype(auto) retype group__retype.html - gae5acb60ec172baf3e9cf06df9fd3968d - (const slot< T_return, T_arg...> &_A_functor) + gab267b6108e8c758965d6d6e367549478 + (const T_functor< T_func, T_arg...> &_A_functor) decltype(auto) retype group__retype.html - ga55a05ed5762ad048f81c96b76e189d90 - (const pointer_functor< T_return, T_arg...> &_A_functor) - - - decltype(auto) - retype - group__retype.html - ga6991b513a02c9f9306b969d78f53f54a - (const mem_functor< T_func, T_arg...> &_A_functor) - - - decltype(auto) - retype - group__retype.html - ga1c2d8b2d5b7eac18c18a149e13723c72 - (const bound_mem_functor< T_func, T_arg...> &_A_functor) + ga5b0a57193130457a1840fb76c1df9359 + (const T_functor< T_return(T_arg...)> &_A_functor) track_obj.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/adaptors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/adaptors/ track__obj_8h sigc::track_obj_functor sigc @@ -141,12 +127,12 @@ bind.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/ bind_8h bind.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/adaptors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/adaptors/ adaptors_2bind_8h sigc::bind_functor sigc::bind_functor<-1, T_functor, T_type...> @@ -168,12 +154,12 @@ bind_return.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/ bind__return_8h bind_return.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/adaptors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/adaptors/ adaptors_2bind__return_8h sigc::bind_return_functor sigc @@ -187,21 +173,21 @@ connection.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/ connection_8h sigc::connection sigc functor_base.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/functors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/functors/ functor__base_8h sigc::functor_base sigc functor_trait.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/functors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/functors/ functor__trait_8h sigc::can_deduce_result_type_with_decltype sigc::functor_trait @@ -230,12 +216,12 @@ functors.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/functors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/functors/ functors_8h mem_fun.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/functors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/functors/ mem__fun_8h sigc::bound_mem_functor sigc::mem_functor @@ -251,41 +237,35 @@ decltype(auto) mem_fun group__mem__fun.html - gaed671e5a57879d0671b7c9a21aa1a124 - (T_obj *_A_obj, T_return(T_obj2::*_A_func)(T_arg...)) - - - decltype(auto) - mem_fun - group__mem__fun.html gae28d6895a9f21c285fe420e928ff046d (T_obj &_A_obj, T_return(T_obj2::*_A_func)(T_arg...)) ptr_fun.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/functors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/functors/ ptr__fun_8h sigc::pointer_functor + sigc::pointer_functor< T_return(T_args...)> sigc - pointer_functor< T_return, T_args...> + decltype(auto) ptr_fun group__ptr__fun.html - ga6a373493892e21ba59b2d998036d7886 + ga203dd1ac5747cf2f3d2b2d590ad32e82 (T_return(*_A_func)(T_args...)) slot_base.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/functors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/functors/ slot__base_8h sigc::slot_base sigc limit_reference.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/ limit__reference_8h sigc::limit_reference sigc::limit_reference< T_type, true > @@ -293,33 +273,13 @@ member_method_trait.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/ member__method__trait_8h - sigc::member_method_class - sigc::member_method_class< T_result(T_obj::*)(T_arg...) const > - sigc::member_method_class< T_result(T_obj::*)(T_arg...) const volatile > - sigc::member_method_class< T_result(T_obj::*)(T_arg...) volatile > - sigc::member_method_class< T_result(T_obj::*)(T_arg...)> - sigc::member_method_is_const - sigc::member_method_is_const< T_result(T_obj::*)(T_arg...) const > - sigc::member_method_is_const< T_result(T_obj::*)(T_arg...) const volatile > - sigc::member_method_is_const< T_result(T_obj::*)(T_arg...) volatile > - sigc::member_method_is_const< T_result(T_obj::*)(T_arg...)> - sigc::member_method_is_volatile - sigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...) const > - sigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...) const volatile > - sigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...) volatile > - sigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...)> - sigc::member_method_result - sigc::member_method_result< T_result(T_obj::*)(T_arg...) const > - sigc::member_method_result< T_result(T_obj::*)(T_arg...) const volatile > - sigc::member_method_result< T_result(T_obj::*)(T_arg...) volatile > - sigc::member_method_result< T_result(T_obj::*)(T_arg...)> sigc reference_wrapper.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/ reference__wrapper_8h sigc::unwrap_reference sigc::unwrap_reference< std::reference_wrapper< const T_type > > @@ -342,12 +302,12 @@ retype_return.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/ retype__return_8h retype_return.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/adaptors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/adaptors/ adaptors_2retype__return_8h sigc::retype_return_functor sigc::retype_return_functor< void, T_functor > @@ -369,15 +329,16 @@ sigc++.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/ sigc_09_09_8h signal.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/ signal_8h sigc::signal - sigc::signal::accumulated + sigc::signal< T_return(T_arg...)> + sigc::signal< T_return(T_arg...)>::accumulated sigc::signal_with_accumulator sigc::slot_const_iterator sigc::slot_iterator @@ -386,26 +347,27 @@ signal_base.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/ signal__base_8h sigc::signal_base sigc slot.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/ slot_8h slot.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/functors/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/functors/ functors_2slot_8h sigc::slot + sigc::slot< T_return(T_arg...)> sigc trackable.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/ trackable_8h sigc::notifiable sigc::trackable @@ -413,37 +375,37 @@ tuple_cdr.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/tuple-utils/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/tuple-utils/ tuple__cdr_8h sigc tuple_end.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/tuple-utils/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/tuple-utils/ tuple__end_8h sigc tuple_for_each.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/tuple-utils/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/tuple-utils/ tuple__for__each_8h sigc tuple_start.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/tuple-utils/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/tuple-utils/ tuple__start_8h sigc tuple_transform_each.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/tuple-utils/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/tuple-utils/ tuple__transform__each_8h sigc type_traits.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/ type__traits_8h sigc::type_trait sigc::type_trait< const T_type & > @@ -473,7 +435,7 @@ visit_each.h - /home/murrayc/checkout/gnome/libsigcplusplus_variadic/sigc++/ + /home/murrayc/checkout/gnome/libsigcplusplus-master/sigc++/ visit__each_8h sigc::visitor sigc @@ -3739,24 +3701,24 @@ - typename std::conditional_t< member_method_is_const< T_func >::value, const object_type, object_type > + typename std::conditional_t< internal::member_method_is_const< T_func >::value, const object_type, object_type > obj_type_with_modifier classsigc_1_1mem__functor.html - a1f76acc8ed2134264e7ff6ef7bc7f4d0 + a24ef71042d8feaed869706c6d3236256 - typename member_method_class< T_func >::type + typename internal::member_method_class< T_func >::type object_type classsigc_1_1mem__functor.html - ac2e5d58706006372b0c5ec382c8cd76c + a66ce968499f60275c30feea623a5fa5b - typename member_method_result< T_func >::type + typename internal::member_method_result< T_func >::type result_type classsigc_1_1mem__functor.html - aecc5afdcb6c21c1ad40fe42b3a838697 + ab35ca512321bab23d281672bae70f2e4 @@ -3777,13 +3739,6 @@ decltype(auto) operator() classsigc_1_1mem__functor.html - afef30835b7fd38f8f17e2f81e2482800 - (obj_type_with_modifier *_A_obj, type_trait_take_t< T_arg >..._A_a) const - - - decltype(auto) - operator() - classsigc_1_1mem__functor.html a6c693e5fe68361bda05a866a0962d301 (obj_type_with_modifier &_A_obj, type_trait_take_t< T_arg >..._A_a) const @@ -4159,10 +4114,10 @@ - typename std::conditional_t< member_method_is_const< T_func >::value, const object_type, object_type > + typename std::conditional_t< internal::member_method_is_const< T_func >::value, const object_type, object_type > obj_type_with_modifier classsigc_1_1bound__mem__functor.html - a68b5c948fa3bf198b0a114baeaaf040a + abb9c367edb9d7e8d475ebf1690d079d6 @@ -4180,10 +4135,10 @@ - typename std::conditional_t< member_method_is_const< T_func >::value, limit_reference< const object_type >, limit_reference< object_type >> + typename std::conditional_t< internal::member_method_is_const< T_func >::value, limit_reference< const object_type >, limit_reference< object_type >> T_limit_reference classsigc_1_1bound__mem__functor.html - a71724575277fb39f8ddca5bd2e017254 + a5f9c4408bf79f18f6531df98c2dbfac1 @@ -4718,24 +4673,24 @@ - typename std::conditional_t< member_method_is_const< T_func >::value, const object_type, object_type > + typename std::conditional_t< internal::member_method_is_const< T_func >::value, const object_type, object_type > obj_type_with_modifier classsigc_1_1mem__functor.html - a1f76acc8ed2134264e7ff6ef7bc7f4d0 + a24ef71042d8feaed869706c6d3236256 - typename member_method_class< T_func >::type + typename internal::member_method_class< T_func >::type object_type classsigc_1_1mem__functor.html - ac2e5d58706006372b0c5ec382c8cd76c + a66ce968499f60275c30feea623a5fa5b - typename member_method_result< T_func >::type + typename internal::member_method_result< T_func >::type result_type classsigc_1_1mem__functor.html - aecc5afdcb6c21c1ad40fe42b3a838697 + ab35ca512321bab23d281672bae70f2e4 @@ -4756,13 +4711,6 @@ decltype(auto) operator() classsigc_1_1mem__functor.html - afef30835b7fd38f8f17e2f81e2482800 - (obj_type_with_modifier *_A_obj, type_trait_take_t< T_arg >..._A_a) const - - - decltype(auto) - operator() - classsigc_1_1mem__functor.html a6c693e5fe68361bda05a866a0962d301 (obj_type_with_modifier &_A_obj, type_trait_take_t< T_arg >..._A_a) const @@ -4775,252 +4723,6 @@ - sigc::member_method_class - structsigc_1_1member__method__class.html - - T_arg - - - sigc::member_method_class< T_result(T_obj::*)(T_arg...) const > - structsigc_1_1member__method__class_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01const_01_01_4.html - - - T_arg - - T_obj - type - structsigc_1_1member__method__class_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01const_01_01_4.html - a3e853026b00cc61a90d8fe9ae796777c - - - - - sigc::member_method_class< T_result(T_obj::*)(T_arg...) const volatile > - structsigc_1_1member__method__class_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01const_01volatile_01_4.html - - - T_arg - - T_obj - type - structsigc_1_1member__method__class_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01const_01volatile_01_4.html - a8a8dd2e8f3507a831dc4451b5aa84d40 - - - - - sigc::member_method_class< T_result(T_obj::*)(T_arg...) volatile > - structsigc_1_1member__method__class_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01volatile_01_4.html - - - T_arg - - T_obj - type - structsigc_1_1member__method__class_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01volatile_01_4.html - a1ca628ff28e4115cfec3d1aafffa6c21 - - - - - sigc::member_method_class< T_result(T_obj::*)(T_arg...)> - structsigc_1_1member__method__class_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html - - - T_arg - - T_obj - type - structsigc_1_1member__method__class_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html - adff8dec9ebae60bb4410e121ae3a8b1f - - - - - sigc::member_method_is_const - structsigc_1_1member__method__is__const.html - - - - sigc::member_method_is_const< T_result(T_obj::*)(T_arg...) const > - structsigc_1_1member__method__is__const_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01const_01_01_4.html - - - T_arg - - static constexpr bool - value - structsigc_1_1member__method__is__const_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01const_01_01_4.html - a9c5c7e8fb55718e86e88d011ff4b3238 - - - - - sigc::member_method_is_const< T_result(T_obj::*)(T_arg...) const volatile > - structsigc_1_1member__method__is__const_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01const_01volatile_01_4.html - - - T_arg - - static constexpr bool - value - structsigc_1_1member__method__is__const_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01const_01volatile_01_4.html - a5fcc3b6a74230b42e2462b8747092401 - - - - - sigc::member_method_is_const< T_result(T_obj::*)(T_arg...) volatile > - structsigc_1_1member__method__is__const_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01volatile_01_4.html - - - T_arg - - static constexpr bool - value - structsigc_1_1member__method__is__const_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01volatile_01_4.html - a58be1dad55f15d592828115e5c2b9430 - - - - - sigc::member_method_is_const< T_result(T_obj::*)(T_arg...)> - structsigc_1_1member__method__is__const_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html - - - T_arg - - static constexpr bool - value - structsigc_1_1member__method__is__const_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html - a00994abb7d5ebf20446ad5cf57003ae1 - - - - - sigc::member_method_is_volatile - structsigc_1_1member__method__is__volatile.html - - - - sigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...) const > - structsigc_1_1member__method__is__volatile_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01const_01_01_4.html - - - T_arg - - static constexpr bool - value - structsigc_1_1member__method__is__volatile_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01const_01_01_4.html - a8eadcb781621b11e7ec020b128d8cc32 - - - - - sigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...) const volatile > - structsigc_1_1member__method__is__volatile_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01const_01volatile_01_4.html - - - T_arg - - static constexpr bool - value - structsigc_1_1member__method__is__volatile_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01const_01volatile_01_4.html - aaa0061cc85ddaeac7b3698cd2bb32d72 - - - - - sigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...) volatile > - structsigc_1_1member__method__is__volatile_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01volatile_01_4.html - - - T_arg - - static constexpr bool - value - structsigc_1_1member__method__is__volatile_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01volatile_01_4.html - af457111b16b9e36c6e638144f8f6d03c - - - - - sigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...)> - structsigc_1_1member__method__is__volatile_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html - - - T_arg - - static constexpr bool - value - structsigc_1_1member__method__is__volatile_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html - ac59dcc4247e9e4fb8f62beab8280aa4e - - - - - sigc::member_method_result - structsigc_1_1member__method__result.html - - T_arg - - - sigc::member_method_result< T_result(T_obj::*)(T_arg...) const > - structsigc_1_1member__method__result_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01const_01_01_4.html - - - T_arg - - T_result - type - structsigc_1_1member__method__result_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01const_01_01_4.html - a0622e457f7d3e0771c5d2122a7acdb73 - - - - - sigc::member_method_result< T_result(T_obj::*)(T_arg...) const volatile > - structsigc_1_1member__method__result_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01const_01volatile_01_4.html - - - T_arg - - T_result - type - structsigc_1_1member__method__result_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01const_01volatile_01_4.html - ac2ebc6d8b6ee5cbcb0e7e9f3f10992a3 - - - - - sigc::member_method_result< T_result(T_obj::*)(T_arg...) volatile > - structsigc_1_1member__method__result_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01volatile_01_4.html - - - T_arg - - T_result - type - structsigc_1_1member__method__result_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_01volatile_01_4.html - a10af3de027107ba36a45acbf11cb7f1b - - - - - sigc::member_method_result< T_result(T_obj::*)(T_arg...)> - structsigc_1_1member__method__result_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html - - - T_arg - - T_result - type - structsigc_1_1member__method__result_3_01T__result_07T__obj_1_1_5_08_07T__arg_8_8_8_08_4.html - a9e6b0be886d751ddfb594753574795af - - - - sigc::notifiable structsigc_1_1notifiable.html @@ -5036,40 +4738,46 @@ classsigc_1_1pointer__functor.html T_args + + + sigc::pointer_functor< T_return(T_args...)> + classsigc_1_1pointer__functor_3_01T__return_07T__args_8_8_8_08_4.html + + T_args sigc::functor_base T_return result_type - classsigc_1_1pointer__functor.html - a59abbd5c1924a446403b740dc315f772 + classsigc_1_1pointer__functor_3_01T__return_07T__args_8_8_8_08_4.html + a0a6c15f66e36a7d656d8b13949632ff5 pointer_functor - classsigc_1_1pointer__functor.html - aa11936a6d1e709da74402f26079e119d + classsigc_1_1pointer__functor_3_01T__return_07T__args_8_8_8_08_4.html + a9a9e668280c525690934039360708f88 () pointer_functor - classsigc_1_1pointer__functor.html - ae6e0b3b439dfcd7c1d8773f9904120a4 + classsigc_1_1pointer__functor_3_01T__return_07T__args_8_8_8_08_4.html + acf5187ed4b100979bda904663398b478 (function_type _A_func) T_return operator() - classsigc_1_1pointer__functor.html - a1f0989cc2b8b89929af75221c9e0d2cb + classsigc_1_1pointer__functor_3_01T__return_07T__args_8_8_8_08_4.html + ad84eb8b252001dd854485486b1b953c1 (type_trait_take_t< T_args >..._A_a) const function_type func_ptr_ - classsigc_1_1pointer__functor.html - afc173db923f74dce119243e8ba303fb5 + classsigc_1_1pointer__functor_3_01T__return_07T__args_8_8_8_08_4.html + a986042bfa4905a2cb5bf9d17a2f5a110 @@ -5194,70 +4902,76 @@ sigc::signal classsigc_1_1signal.html - T_return + + T_arg + + + sigc::signal< T_return(T_arg...)> + classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4.html + T_arg signal_with_accumulator< T_return, void, T_arg...> - sigc::signal::accumulated + sigc::signal< T_return(T_arg...)>::accumulated void accumulator_type - classsigc_1_1signal.html - a15ce61b64c979882f3ff2df1b1672c2a + classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4.html + a80332f4caf87e55c1038365318dacb60 signal - classsigc_1_1signal.html - a56cce7716d4b9305228afd8d7386909e + classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4.html + a28a1b631364fe189c672bf036eeb79d1 () signal - classsigc_1_1signal.html - aa573400b528ce2c9939dc47bba4c3445 + classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4.html + aeb519c37f7e815bd98bab97fff31eb3a (const signal &src) signal - classsigc_1_1signal.html - a0cc78967f66648ca88f6d87a01de240d + classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4.html + ab5cc052ce9315f1ebb8f11a4ebd20c14 (signal &&src) signal & operator= - classsigc_1_1signal.html - a5e674520f10c247b253c3d558fc89ca7 + classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4.html + a826d3477588200bb8e1be7a2369892a2 (const signal &src) signal & operator= - classsigc_1_1signal.html - a0651a1096a5352a3a6a015215c8a944e + classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4.html + ab765e34c9b99fe2d6e2c888fa9d139e8 (signal &&src) - sigc::signal::accumulated - classsigc_1_1signal_1_1accumulated.html + sigc::signal< T_return(T_arg...)>::accumulated + classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4_1_1accumulated.html signal_with_accumulator< T_return, T_accumulator, T_arg...> accumulated - classsigc_1_1signal_1_1accumulated.html - a2b68343d8afa6344aa6d09dd5ef127b9 + classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4_1_1accumulated.html + a4f9156ded62f393d5db95576d7ec1e74 () accumulated - classsigc_1_1signal_1_1accumulated.html - a5580eb2b9fa7021619b4c90030f54dd1 + classsigc_1_1signal_3_01T__return_07T__arg_8_8_8_08_4_1_1accumulated.html + ae2a536f43414691cf7a11ca8eb8b8ca4 (const accumulated &src) @@ -5470,10 +5184,10 @@ - slot< T_return, T_arg...> + slot< T_return(T_arg...)> slot_type classsigc_1_1signal__with__accumulator.html - abf56f797a5f43e49b144dc9546a0d53e + a2eee90cba16be957a3212d1b541ddc04 @@ -5571,63 +5285,69 @@ sigc::slot classsigc_1_1slot.html - T_return + + T_arg + + + sigc::slot< T_return(T_arg...)> + classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4.html + T_arg sigc::slot_base T_return result_type - classsigc_1_1slot.html - a1917fb14e7124b0d0fc1003bbe67f29d + classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4.html + af593e79280c004b6ef8f4722953df0c4 slot - classsigc_1_1slot.html - ac83bbc3c5566f845b1c732d25ece0429 + classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4.html + add0d65ea6dc554733e766b3510c89a3a () slot - classsigc_1_1slot.html - af576361278de95a6e238ad27bdb26db9 + classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4.html + a8c7a2fb604a0a9495bfa2850bb3520f5 (const T_functor &_A_func) slot - classsigc_1_1slot.html - a651ef00b439caf75c4ef77a5e9980cc2 + classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4.html + ad1e5bc73a259ee666eb8d11d9e48d1d7 (const slot &src) slot - classsigc_1_1slot.html - aaa13e36d69fc0593e1b630774f4a5cab + classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4.html + ae7d852d9ac2c9a6a37564a0f4aed3872 (slot &&src) T_return operator() - classsigc_1_1slot.html - affe382df756eecf483efa1e539a436a4 + classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4.html + af0784c46ac4d3ec500b2d2c738e39ca4 (type_trait_take_t< T_arg >..._A_a) const slot & operator= - classsigc_1_1slot.html - a71af5b7be03e0fbdc3f9feea810c1d8f + classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4.html + a34e1ec92ebbc3ee4dbc8acdeb525c12c (const slot &src) slot & operator= - classsigc_1_1slot.html - ae28bdbdda07c8492ecc93175a4fcda35 + classsigc_1_1slot_3_01T__return_07T__arg_8_8_8_08_4.html + a22759a1af0d37b9e7432bbb046ceff8a (slot &&src) @@ -6588,10 +6308,10 @@ - slot< T_return, T_arg...> + slot< T_return(T_arg...)> slot_type classsigc_1_1signal__with__accumulator.html - abf56f797a5f43e49b144dc9546a0d53e + a2eee90cba16be957a3212d1b541ddc04 @@ -6740,10 +6460,10 @@ - slot< T_return, T_arg...> + slot< T_return(T_arg...)> slot_type classsigc_1_1signal__with__accumulator.html - abf56f797a5f43e49b144dc9546a0d53e + a2eee90cba16be957a3212d1b541ddc04 @@ -6914,35 +6634,18 @@ sigc::limit_reference sigc::limit_reference< T_type, true > sigc::mem_functor - sigc::member_method_class - sigc::member_method_class< T_result(T_obj::*)(T_arg...) const > - sigc::member_method_class< T_result(T_obj::*)(T_arg...) const volatile > - sigc::member_method_class< T_result(T_obj::*)(T_arg...) volatile > - sigc::member_method_class< T_result(T_obj::*)(T_arg...)> - sigc::member_method_is_const - sigc::member_method_is_const< T_result(T_obj::*)(T_arg...) const > - sigc::member_method_is_const< T_result(T_obj::*)(T_arg...) const volatile > - sigc::member_method_is_const< T_result(T_obj::*)(T_arg...) volatile > - sigc::member_method_is_const< T_result(T_obj::*)(T_arg...)> - sigc::member_method_is_volatile - sigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...) const > - sigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...) const volatile > - sigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...) volatile > - sigc::member_method_is_volatile< T_result(T_obj::*)(T_arg...)> - sigc::member_method_result - sigc::member_method_result< T_result(T_obj::*)(T_arg...) const > - sigc::member_method_result< T_result(T_obj::*)(T_arg...) const volatile > - sigc::member_method_result< T_result(T_obj::*)(T_arg...) volatile > - sigc::member_method_result< T_result(T_obj::*)(T_arg...)> sigc::notifiable sigc::pointer_functor + sigc::pointer_functor< T_return(T_args...)> sigc::retype_functor sigc::retype_return_functor sigc::retype_return_functor< void, T_functor > sigc::signal + sigc::signal< T_return(T_arg...)> sigc::signal_base sigc::signal_with_accumulator sigc::slot + sigc::slot< T_return(T_arg...)> sigc::slot_base sigc::slot_const_iterator sigc::slot_iterator @@ -7046,50 +6749,29 @@ decltype(auto) mem_fun group__mem__fun.html - gaed671e5a57879d0671b7c9a21aa1a124 - (T_obj *_A_obj, T_return(T_obj2::*_A_func)(T_arg...)) - - - decltype(auto) - mem_fun - group__mem__fun.html gae28d6895a9f21c285fe420e928ff046d (T_obj &_A_obj, T_return(T_obj2::*_A_func)(T_arg...)) - pointer_functor< T_return, T_args...> + decltype(auto) ptr_fun group__ptr__fun.html - ga6a373493892e21ba59b2d998036d7886 + ga203dd1ac5747cf2f3d2b2d590ad32e82 (T_return(*_A_func)(T_args...)) decltype(auto) retype group__retype.html - gae5acb60ec172baf3e9cf06df9fd3968d - (const slot< T_return, T_arg...> &_A_functor) - - - decltype(auto) - retype - group__retype.html - ga55a05ed5762ad048f81c96b76e189d90 - (const pointer_functor< T_return, T_arg...> &_A_functor) + gab267b6108e8c758965d6d6e367549478 + (const T_functor< T_func, T_arg...> &_A_functor) decltype(auto) retype group__retype.html - ga6991b513a02c9f9306b969d78f53f54a - (const mem_functor< T_func, T_arg...> &_A_functor) - - - decltype(auto) - retype - group__retype.html - ga1c2d8b2d5b7eac18c18a149e13723c72 - (const bound_mem_functor< T_func, T_arg...> &_A_functor) + ga5b0a57193130457a1840fb76c1df9359 + (const T_functor< T_return(T_arg...)> &_A_functor) retype_return_functor< T_return, T_functor > @@ -7606,7 +7288,7 @@ group__signal.html sigc::connection sigc::signal - sigc::signal::accumulated + sigc::signal< T_return(T_arg...)>::accumulated sigc::signal_base sigc::signal_with_accumulator sigc::slot_const_iterator @@ -7763,13 +7445,6 @@ decltype(auto) mem_fun group__mem__fun.html - gaed671e5a57879d0671b7c9a21aa1a124 - (T_obj *_A_obj, T_return(T_obj2::*_A_func)(T_arg...)) - - - decltype(auto) - mem_fun - group__mem__fun.html gae28d6895a9f21c285fe420e928ff046d (T_obj &_A_obj, T_return(T_obj2::*_A_func)(T_arg...)) @@ -7780,10 +7455,10 @@ group__ptr__fun.html sigc::pointer_functor - pointer_functor< T_return, T_args...> + decltype(auto) ptr_fun group__ptr__fun.html - ga6a373493892e21ba59b2d998036d7886 + ga203dd1ac5747cf2f3d2b2d590ad32e82 (T_return(*_A_func)(T_args...)) @@ -7798,29 +7473,15 @@ decltype(auto) retype group__retype.html - gae5acb60ec172baf3e9cf06df9fd3968d - (const slot< T_return, T_arg...> &_A_functor) - - - decltype(auto) - retype - group__retype.html - ga55a05ed5762ad048f81c96b76e189d90 - (const pointer_functor< T_return, T_arg...> &_A_functor) - - - decltype(auto) - retype - group__retype.html - ga6991b513a02c9f9306b969d78f53f54a - (const mem_functor< T_func, T_arg...> &_A_functor) + gab267b6108e8c758965d6d6e367549478 + (const T_functor< T_func, T_arg...> &_A_functor) decltype(auto) retype group__retype.html - ga1c2d8b2d5b7eac18c18a149e13723c72 - (const bound_mem_functor< T_func, T_arg...> &_A_functor) + ga5b0a57193130457a1840fb76c1df9359 + (const T_functor< T_return(T_arg...)> &_A_functor) retype_return_functor< T_return, T_functor > @@ -7850,6 +7511,8 @@ description features basics + autotools + cmake scope diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt new file mode 100644 index 0000000..a983090 --- /dev/null +++ b/examples/CMakeLists.txt @@ -0,0 +1,24 @@ +# Copyright 2016, The libsigc++ Development Team +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +function (add_sigcpp_example EXAMPLE_SOURCE_FILE) + get_filename_component (example_name ${EXAMPLE_SOURCE_FILE} NAME_WE) + add_executable (${example_name} ${EXAMPLE_SOURCE_FILE}) + target_link_libraries (${example_name} sigc-${SIGCXX_API_VERSION}) +endfunction (add_sigcpp_example) + +add_sigcpp_example (hello_world.cc) +add_sigcpp_example (member_method.cc) diff --git a/examples/Makefile.am b/examples/Makefile.am index b77cc24..3df0fd1 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -16,10 +16,12 @@ ## along with this library. If not, see . AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -AM_CXXFLAGS = $(SIGC_WXXFLAGS) +AM_CXXFLAGS = $(SIGC_WXXFLAGS) -DSIGCXX_DISABLE_DEPRECATED LDADD = $(top_builddir)/sigc++/libsigc-$(SIGCXX_API_VERSION).la noinst_PROGRAMS = hello_world member_method +dist_noinst_DATA = CMakeLists.txt + hello_world_SOURCES = hello_world.cc member_method_SOURCES = member_method.cc diff --git a/examples/Makefile.in b/examples/Makefile.in index 4b949d0..19a97d1 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -14,6 +14,7 @@ @SET_MAKE@ + VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ @@ -98,7 +99,8 @@ am__aclocal_m4_deps = $(top_srcdir)/build/libtool.m4 \ $(top_srcdir)/build/lt~obsolete.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) -DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +DIST_COMMON = $(srcdir)/Makefile.am $(dist_noinst_DATA) \ + $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h \ $(top_builddir)/sigc++config.h @@ -160,6 +162,7 @@ am__can_run_installinfo = \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac +DATA = $(dist_noinst_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is @@ -323,8 +326,9 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -AM_CXXFLAGS = $(SIGC_WXXFLAGS) +AM_CXXFLAGS = $(SIGC_WXXFLAGS) -DSIGCXX_DISABLE_DEPRECATED LDADD = $(top_builddir)/sigc++/libsigc-$(SIGCXX_API_VERSION).la +dist_noinst_DATA = CMakeLists.txt hello_world_SOURCES = hello_world.cc member_method_SOURCES = member_method.cc all: all-am @@ -498,7 +502,7 @@ distdir: $(DISTFILES) done check-am: all-am check: check-am -all-am: Makefile $(PROGRAMS) +all-am: Makefile $(PROGRAMS) $(DATA) installdirs: install: install-am install-exec: install-exec-am diff --git a/examples/hello_world.cc b/examples/hello_world.cc index aff82f2..efe85e0 100644 --- a/examples/hello_world.cc +++ b/examples/hello_world.cc @@ -16,7 +16,7 @@ void on_print(const std::string& str) int main() { - sigc::signal signal_print; + sigc::signal signal_print; signal_print.connect( sigc::ptr_fun(&on_print) ); diff --git a/examples/member_method.cc b/examples/member_method.cc index 5794a9e..311f0ef 100644 --- a/examples/member_method.cc +++ b/examples/member_method.cc @@ -18,14 +18,14 @@ protected: virtual void on_print(int a); - using type_signal_print = sigc::signal; + using type_signal_print = sigc::signal; type_signal_print signal_print; }; Something::Something() { - auto iter = signal_print.connect( sigc::mem_fun(this, &Something::on_print) ); + auto iter = signal_print.connect( sigc::mem_fun(*this, &Something::on_print) ); signal_print.emit(2); diff --git a/sigc++/CMakeLists.txt b/sigc++/CMakeLists.txt new file mode 100644 index 0000000..f203d51 --- /dev/null +++ b/sigc++/CMakeLists.txt @@ -0,0 +1,48 @@ +# Copyright 2016, The libsigc++ Development Team +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +set (SOURCE_FILES + connection.cc + signal_base.cc + signal.cc + trackable.cc + functors/slot_base.cc + functors/slot.cc +) + +set (SIGCPP_LIB_NAME sigc-${SIGCXX_API_VERSION}) + +add_library(${SIGCPP_LIB_NAME} SHARED ${SOURCE_FILES}) + +set_property (TARGET ${SIGCPP_LIB_NAME} PROPERTY VERSION ${PACKAGE_VERSION}) +set_property(TARGET ${SIGCPP_LIB_NAME} PROPERTY SOVERSION ${LIBSIGCPP_SOVERSION}) + +set (INCLUDE_INSTALL_DIR "include/${PROJECT_NAME}-${SIGCXX_API_VERSION}") + +install ( + DIRECTORY "${PROJECT_SOURCE_DIR}" + DESTINATION "${INCLUDE_INSTALL_DIR}" + FILES_MATCHING PATTERN "*.h" +) + +set (PROJECT_CMAKE_NAME ${PROJECT_NAME}-3) + +install ( + TARGETS ${SIGCPP_LIB_NAME} + EXPORT "${PROJECT_CMAKE_NAME}Targets" + LIBRARY DESTINATION "lib" + INCLUDES DESTINATION "${INCLUDE_INSTALL_DIR}" +) diff --git a/sigc++/Makefile.am b/sigc++/Makefile.am index 0c6b886..9de87e7 100644 --- a/sigc++/Makefile.am +++ b/sigc++/Makefile.am @@ -22,7 +22,7 @@ include $(srcdir)/filelist.am # Subdirectories needed also in the build dir build_subdirs = functors -dist_noinst_DATA = $(sigc_m4) +dist_noinst_DATA = $(sigc_m4) CMakeLists.txt library_includedir = $(includedir)/$(SIGCXX_MODULE_NAME)/sigc++ nobase_library_include_HEADERS = sigc++.h $(sigc_public_h) $(sigc_built_h) diff --git a/sigc++/Makefile.in b/sigc++/Makefile.in index fe560c2..59765c6 100644 --- a/sigc++/Makefile.in +++ b/sigc++/Makefile.in @@ -402,7 +402,7 @@ sigc_public_h = \ # Subdirectories needed also in the build dir build_subdirs = functors -dist_noinst_DATA = $(sigc_m4) +dist_noinst_DATA = $(sigc_m4) CMakeLists.txt library_includedir = $(includedir)/$(SIGCXX_MODULE_NAME)/sigc++ nobase_library_include_HEADERS = sigc++.h $(sigc_public_h) $(sigc_built_h) lib_LTLIBRARIES = libsigc-@SIGCXX_API_VERSION@.la diff --git a/sigc++/adaptors/bind.h b/sigc++/adaptors/bind.h index ba6b2ad..459b884 100644 --- a/sigc++/adaptors/bind.h +++ b/sigc++/adaptors/bind.h @@ -38,7 +38,7 @@ namespace sigc { * * @par Example: * @code - * sigc::signal some_signal; + * sigc::signal some_signal; * void foo(int); * some_signal.connect(sigc::bind(&foo,1)); * @endcode @@ -58,7 +58,7 @@ namespace sigc { * @par Example: * @code * int some_int; - * sigc::signal some_signal; + * sigc::signal some_signal; * void foo(int&); * some_signal.connect(sigc::bind(&foo, std::ref(some_int))); * @endcode @@ -70,7 +70,7 @@ namespace sigc { * @par Example: * @code * struct bar : public sigc::trackable {} some_bar; - * sigc::signal some_signal; + * sigc::signal some_signal; * void foo(bar&); * some_signal.connect(sigc::bind(&foo, std::ref(some_bar))); * // disconnected automatically if some_bar goes out of scope @@ -87,6 +87,7 @@ struct TransformEachInvoker { //We take T_element as non-const because invoke() is not const. //TODO: Take element as T_element&& ? + constexpr static decltype(auto) transform(T_element& element) { @@ -125,19 +126,19 @@ struct bind_functor : public adapts //we would want to call operator() with (_A_arg0, bound, _A_arg1, _A_arg2). using tuple_type_args = std::tuple...>; - auto t_args = std::tuple(std::forward(_A_arg)...); + const auto t_args = std::tuple(std::forward(_A_arg)...); constexpr auto t_args_size = std::tuple_size::value; //Prevent calling tuple_start<> with values that will cause a compilation error. static_assert(I_location <= t_args_size, "I_location must be less than or equal to the number of arguments."); - auto t_start = internal::tuple_start(t_args); - auto t_bound = internal::tuple_transform_each(bound_); - auto t_end = internal::tuple_end(t_args); - auto t_with_bound = std::tuple_cat(t_start, t_bound, t_end); + const auto t_start = internal::tuple_start(t_args); + const auto t_bound = internal::tuple_transform_each(bound_); + const auto t_end = internal::tuple_end(t_args); + const auto t_with_bound = std::tuple_cat(t_start, t_bound, t_end); - const auto seq = std::make_index_sequence::value>(); + constexpr const auto seq = std::make_index_sequence::value>(); return call_functor_operator_parentheses(t_with_bound, seq); } @@ -186,11 +187,11 @@ struct bind_functor<-1, T_functor, T_type...> : public adapts //For instance, if _A_arg has 4 arguments, //we would want to call operator() with (_A_arg0, _A_arg1, _A_arg2, bound). - auto t_args = std::tuple(std::forward(_A_arg)...); - auto t_bound = internal::tuple_transform_each(bound_); - auto t_with_bound = std::tuple_cat(t_args, t_bound); + const auto t_args = std::tuple(std::forward(_A_arg)...); + const auto t_bound = internal::tuple_transform_each(bound_); + const auto t_with_bound = std::tuple_cat(t_args, t_bound); - const auto seq = std::make_index_sequence::value>(); + constexpr auto seq = std::make_index_sequence::value>(); return call_functor_operator_parentheses(t_with_bound, seq); } @@ -223,6 +224,7 @@ template struct TupleVisitorVisitEach { template + constexpr static void visit(const T_element& element, const T_action& action) diff --git a/sigc++/adaptors/compose.h b/sigc++/adaptors/compose.h index 57fe15e..adfc8f5 100644 --- a/sigc++/adaptors/compose.h +++ b/sigc++/adaptors/compose.h @@ -22,7 +22,7 @@ namespace sigc { * * @par Example: * @code - * sigc::signal some_signal; + * sigc::signal(float(float, float)> some_signal; * some_signal.connect(sigc::compose(&square_root, &sum)); * @endcode * diff --git a/sigc++/adaptors/exception_catch.h b/sigc++/adaptors/exception_catch.h index 4080700..5948a66 100644 --- a/sigc++/adaptors/exception_catch.h +++ b/sigc++/adaptors/exception_catch.h @@ -47,7 +47,7 @@ namespace sigc { * * @par Example: * @code - * sigc::signal some_signal; + * sigc::signal some_signal; * some_signal.connect(sigc::exception_catch(&foo, my_catch)); * @endcode * diff --git a/sigc++/adaptors/hide.h b/sigc++/adaptors/hide.h index 0d98dd3..6717aa4 100644 --- a/sigc++/adaptors/hide.h +++ b/sigc++/adaptors/hide.h @@ -35,7 +35,7 @@ namespace sigc { * * @par Example: * @code - * sigc::signal some_signal; + * sigc::signal some_signal; * void foo(); * some_signal.connect(sigc::hide(&foo)); * @endcode diff --git a/sigc++/adaptors/retype.h b/sigc++/adaptors/retype.h index 2c511a5..ba7a8b3 100644 --- a/sigc++/adaptors/retype.h +++ b/sigc++/adaptors/retype.h @@ -25,7 +25,7 @@ namespace sigc { * * @par Example: * @code - * sigc::signal some_signal; + * sigc::signal some_signal; * void foo(int); * some_signal.connect(sigc::retype(sigc::ptr_fun(&foo))); * @endcode @@ -99,68 +99,34 @@ struct visitor > }; #endif // DOXYGEN_SHOULD_SKIP_THIS +//This one takes, for instance, a mem_functor or bound_mem_functor: /** Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. - * This function template specialization works on sigc::slot. * * @param _A_functor Functor that should be wrapped. * @return Adaptor that executes @e _A_functor performing C-style casts on the paramters passed on. * * @ingroup retype */ -template +template class T_functor, class T_func, class... T_arg> inline decltype(auto) -retype(const slot& _A_functor) -{ return retype_functor, T_arg...> +retype(const T_functor& _A_functor) +{ return retype_functor, T_arg...> (_A_functor); } - +//This one takes, for instance, a pointer_functor or slot: /** Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. - * This function template specialization works on sigc::pointer_functor. * * @param _A_functor Functor that should be wrapped. * @return Adaptor that executes @e _A_functor performing C-style casts on the paramters passed on. * * @ingroup retype */ -template +template class T_functor, class T_return, class... T_arg> inline decltype(auto) -retype(const pointer_functor& _A_functor) -{ return retype_functor, T_arg... > +retype(const T_functor& _A_functor) +{ return retype_functor, T_arg...> (_A_functor); } - -/** Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. - * This function template specialization works on sigc::mem_functor. - * - * @param _A_functor Functor that should be wrapped. - * @return Adaptor that executes @e _A_functor performing C-style casts on the paramters passed on. - * - * @ingroup retype - */ -template -inline decltype(auto) -retype(const mem_functor& _A_functor) -{ return retype_functor, T_arg...> - (_A_functor); -} - -/** Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. - * This function template specialization works on sigc::bound_mem_functor. - * - * @param _A_functor Functor that should be wrapped. - * @return Adaptor that executes @e _A_functor performing C-style casts on the paramters passed on. - * - * @ingroup retype - */ -template < - class T_func, - class... T_arg> -inline decltype(auto) -retype(const bound_mem_functor& _A_functor) -{ return retype_functor, T_arg...> - (_A_functor); -} - } /* namespace sigc */ #endif /* _SIGC_ADAPTORS_RETYPE_H_ */ diff --git a/sigc++/adaptors/track_obj.h b/sigc++/adaptors/track_obj.h index 039dd27..69a5c9b 100644 --- a/sigc++/adaptors/track_obj.h +++ b/sigc++/adaptors/track_obj.h @@ -20,7 +20,7 @@ namespace sigc { * @par Example: * @code * struct bar : public sigc::trackable {}; - * sigc::signal some_signal; + * sigc::signal some_signal; * void foo(bar&); * { * bar some_bar; diff --git a/sigc++/functors/functor_trait.h b/sigc++/functors/functor_trait.h index 94d80e7..9ac2977 100644 --- a/sigc++/functors/functor_trait.h +++ b/sigc++/functors/functor_trait.h @@ -198,7 +198,7 @@ template struct functor_trait { using result_type = T_return; - using functor_type = pointer_functor; + using functor_type = pointer_functor; }; diff --git a/sigc++/functors/mem_fun.h b/sigc++/functors/mem_fun.h index 25358dc..5caac6b 100644 --- a/sigc++/functors/mem_fun.h +++ b/sigc++/functors/mem_fun.h @@ -31,7 +31,7 @@ namespace sigc { * void bar(int) {} * }; * foo my_foo; - * sigc::slot sl = sigc::mem_fun(my_foo, &foo::bar); + * sigc::slot sl = sigc::mem_fun(my_foo, &foo::bar); * // Note: f is not a slot. It will not be invalidated when my_foo is deleted. * auto f = sigc::mem_fun(my_foo, &foo::bar); // Usually not what you want. * @endcode @@ -45,7 +45,7 @@ namespace sigc { * void bar(int) const {} * }; * const foo my_foo; - * sigc::slot sl = sigc::mem_fun(my_foo, &foo::bar); + * sigc::slot sl = sigc::mem_fun(my_foo, &foo::bar); * @endcode * * Use mem_fun#() if there is an ambiguity as to the number of arguments. @@ -59,7 +59,7 @@ namespace sigc { * void bar(int, int) {} * }; * foo my_foo; - * sigc::slot sl = sigc::mem_fun1(my_foo, &foo::bar); + * sigc::slot sl = sigc::mem_fun1(my_foo, &foo::bar); * @endcode * * @ingroup sigcfunctors @@ -69,13 +69,13 @@ template class mem_functor : public functor_base { public: - using object_type = typename member_method_class::type; + using object_type = typename internal::member_method_class::type; using function_type = T_func; - using result_type = typename member_method_result::type; + using result_type = typename internal::member_method_result::type; using obj_type_with_modifier = typename std::conditional_t< - member_method_is_const::value, const object_type, object_type>; + internal::member_method_is_const::value, const object_type, object_type>; /// Constructs an invalid functor. mem_functor() : func_ptr_(nullptr) {} @@ -86,15 +86,6 @@ public: explicit mem_functor(function_type _A_func) : func_ptr_(_A_func) {} /** Execute the wrapped method operating on the passed instance. - * @param _A_obj Pointer to instance the method should operate on. - * @param _A_a... Argument to be passed on to the method. - * @return The return value of the method invocation. - */ - decltype(auto) - operator()(obj_type_with_modifier* _A_obj, type_trait_take_t... _A_a) const - { return (_A_obj->*(this->func_ptr_))(_A_a...); } - - /** Execute the wrapped method operating on the passed instance. * @param _A_obj Reference to instance the method should operate on. * @param _A_a... Argument to be passed on to the method. * @return The return value of the method invocation. @@ -121,9 +112,9 @@ public: using object_type = typename base_type::object_type; using obj_type_with_modifier = typename std::conditional_t< - member_method_is_const::value, const object_type, object_type>; + internal::member_method_is_const::value, const object_type, object_type>; using T_limit_reference = typename std::conditional_t< - member_method_is_const::value, + internal::member_method_is_const::value, limit_reference, limit_reference>; /** Constructs a bound_mem_functor object that wraps the passed method. @@ -227,23 +218,6 @@ mem_fun(T_return (T_obj::*_A_func)(T_arg...) const volatile) T_arg...>(_A_func); } - -/** Creates a functor of type sigc::bound_mem_functor which encapsulates a method and an object instance. - * @param _A_obj Pointer to object instance the functor should operate on. - * @param _A_func Pointer to method that should be wrapped. - * @return Functor that executes @e _A_func on invokation. - * - * @ingroup mem_fun - */ -template -inline decltype(auto) -mem_fun(/**/ T_obj* _A_obj, T_return (T_obj2::*_A_func)(T_arg...) ) -{ - return bound_mem_functor< - T_return (T_obj::*)(T_arg...) , - T_arg...>(*_A_obj, _A_func); -} - /** Creates a functor of type sigc::bound_mem_functor which encapsulates a method and an object instance. * @param _A_obj Reference to object instance the functor should operate on. * @param _A_func Pointer to method that should be wrapped. @@ -260,23 +234,6 @@ mem_fun(/**/ T_obj& _A_obj, T_return (T_obj2::*_A_func)(T_arg...) ) T_arg...>(_A_obj, _A_func); } - -/** Creates a functor of type sigc::bound_const_mem_functor which encapsulates a method and an object instance. - * @param _A_obj Pointer to object instance the functor should operate on. - * @param _A_func Pointer to method that should be wrapped. - * @return Functor that executes @e _A_func on invokation. - * - * @ingroup mem_fun - */ -template -inline decltype(auto) -mem_fun(/*const*/ T_obj* _A_obj, T_return (T_obj2::*_A_func)(T_arg...) const) -{ - return bound_mem_functor< - T_return (T_obj::*)(T_arg...) const, - T_arg...>(*_A_obj, _A_func); -} - /** Creates a functor of type sigc::bound_const_mem_functor which encapsulates a method and an object instance. * @param _A_obj Reference to object instance the functor should operate on. * @param _A_func Pointer to method that should be wrapped. @@ -295,22 +252,6 @@ mem_fun(/*const*/ T_obj& _A_obj, T_return (T_obj2::*_A_func)(T_arg...) const) /** Creates a functor of type sigc::bound_volatile_mem_functor which encapsulates a method and an object instance. - * @param _A_obj Pointer to object instance the functor should operate on. - * @param _A_func Pointer to method that should be wrapped. - * @return Functor that executes @e _A_func on invokation. - * - * @ingroup mem_fun - */ -template -inline decltype(auto) -mem_fun(/**/ T_obj* _A_obj, T_return (T_obj2::*_A_func)(T_arg...) volatile) -{ - return bound_mem_functor< - T_return (T_obj::*)(T_arg...) volatile, - T_arg...>(*_A_obj, _A_func); -} - -/** Creates a functor of type sigc::bound_volatile_mem_functor which encapsulates a method and an object instance. * @param _A_obj Reference to object instance the functor should operate on. * @param _A_func Pointer to method that should be wrapped. * @return Functor that executes @e _A_func on invokation. @@ -328,22 +269,6 @@ mem_fun(/**/ T_obj& _A_obj, T_return (T_obj2::*_A_func)(T_arg...) volatile) /** Creates a functor of type sigc::bound_const_volatile_mem_functor which encapsulates a method and an object instance. - * @param _A_obj Pointer to object instance the functor should operate on. - * @param _A_func Pointer to method that should be wrapped. - * @return Functor that executes @e _A_func on invokation. - * - * @ingroup mem_fun - */ -template -inline decltype(auto) -mem_fun(/*const*/ T_obj* _A_obj, T_return (T_obj2::*_A_func)(T_arg...) const volatile) -{ - return bound_mem_functor< - T_return (T_obj::*)(T_arg...) const volatile, - T_arg...>(*_A_obj, _A_func); -} - -/** Creates a functor of type sigc::bound_const_volatile_mem_functor which encapsulates a method and an object instance. * @param _A_obj Reference to object instance the functor should operate on. * @param _A_func Pointer to method that should be wrapped. * @return Functor that executes @e _A_func on invokation. diff --git a/sigc++/functors/ptr_fun.h b/sigc++/functors/ptr_fun.h index 9eab18a..1daa1a9 100644 --- a/sigc++/functors/ptr_fun.h +++ b/sigc++/functors/ptr_fun.h @@ -13,7 +13,7 @@ namespace sigc { * @par Example: * @code * void foo(int) {} - * sigc::slot sl = sigc::ptr_fun(&foo); + * sigc::slot sl = sigc::ptr_fun(&foo); * @endcode * * @par Example: @@ -21,7 +21,7 @@ namespace sigc { * void foo(int) {} // choose this one * void foo(float) {} * void foo(int, int) {} - * sigc::slot sl = sigc::ptr_fun(&foo); + * sigc::slot sl = sigc::ptr_fun(&foo); * @endcode * * ptr_fun() can also be used to convert a pointer to a static member @@ -33,7 +33,7 @@ namespace sigc { * { * static void bar(int) {} * }; - * sigc::slot sl = sigc::ptr_fun(&foo::bar); + * sigc::slot sl = sigc::ptr_fun(&foo::bar); * @endcode * * @ingroup sigcfunctors @@ -49,7 +49,11 @@ namespace sigc { * @ingroup ptr_fun */ template -class pointer_functor : public functor_base +class pointer_functor; + +template +class pointer_functor + : public functor_base { using function_type = T_return (*)(T_args...); protected: @@ -81,9 +85,9 @@ public: * @ingroup ptr_fun */ template -inline pointer_functor +inline decltype(auto) ptr_fun(T_return (*_A_func)(T_args...)) -{ return pointer_functor(_A_func); } +{ return pointer_functor(_A_func); } } /* namespace sigc */ #endif /* _SIGC_FUNCTORS_PTR_FUN_H_ */ diff --git a/sigc++/functors/slot.h b/sigc++/functors/slot.h index ad23ab1..43176a1 100644 --- a/sigc++/functors/slot.h +++ b/sigc++/functors/slot.h @@ -129,25 +129,33 @@ struct slot_call // slot's specialization of the visitor struct. /** Converts an arbitrary functor to a unified type which is opaque. - * sigc::slot itself is a functor or to be more precise a closure. It contains + * sigc::slot itself is a functor or, to be more precise, a closure. It contains * a single, arbitrary functor (or closure) that is executed in operator()(). * * The template arguments determine the function signature of operator()(): - * - @e T_return The return type of operator()(). * - @e T_arg Argument types used in the definition of operator()(). + * - @e T_return The return type of operator()(). + * - @e T_arg Argument types used in the definition of operator()(). * - * To use simply assign the desired functor to the slot. If the functor + * For instance, to declare a slot that returns void and takes two parameters + * of bool and int: + * @code + * sigc::slot some_slot; + * @endcode + * + * To use, simply assign the desired functor to the slot. If the functor * is not compatible with the parameter list defined with the template - * arguments compiler errors are triggered. When called the slot + * arguments then compiler errors are triggered. When called, the slot * will invoke the functor with minimal copies. * block() and unblock() can be used to block the functor's invocation * from operator()() temporarily. * - * You should use the more convenient unnumbered sigc::slot template. - * * @ingroup slot */ template -class slot +class slot; + +template +class slot : public slot_base { public: @@ -225,8 +233,23 @@ public: #ifndef DOXYGEN_SHOULD_SKIP_THIS //template specialization of visitor<>::do_visit_each<>(action, functor): /** Performs a functor on each of the targets of a functor. - * The function overloads for sigc::slot are similar to the function - * overloads for sigc::slot. See the description of those overloads. + * + * There are three function overloads for sigc::slot. + * + * The first two overloads are very specialized. They handle the (probably unusual) + * case when the functor, stored in a slot, contains a slot. They are invoked from + * the constructor, destructor or destroy() method of typed_slot_rep. + * The first overload, called from the constructor of the outer slot, sets + * the outer slot as the parent of the inner slot. The second overload, called from + * the destructor or destroy() of the outer slot, unsets the parent of the inner slot. + * When an object referenced from the inner slot is deleted, the inner slot calls + * its slot_rep::disconnect(), which calls the outer slot's slot_rep::notify(). + * The outer slot is informed just as if one of its directly referenced objects + * had been deleted. Result: The outer slot is disconnected from its parent, + * if any (for instance a sigc::signal). + * See https://bugzilla.gnome.org/show_bug.cgi?id=755003 + * + * The third overload is identical to do_visit_each() in visitor's primary template. * * @ingroup slot */ @@ -256,8 +279,6 @@ struct visitor> }; #endif // DOXYGEN_SHOULD_SKIP_THIS - } /* namespace sigc */ - #endif /* _SIGC_FUNCTORS_SLOT_H_ */ diff --git a/sigc++/functors/slot_base.h b/sigc++/functors/slot_base.h index 5dd9098..cd130c1 100644 --- a/sigc++/functors/slot_base.h +++ b/sigc++/functors/slot_base.h @@ -189,11 +189,11 @@ struct SIGC_API slot_do_unbind * * Use the sigc::mem_fun() and sigc::ptr_fun() template functions to get a sigc::slot, like so: * @code - * sigc::slot sl = sigc::mem_fun(someobj, &SomeClass::somemethod); + * sigc::slot sl = sigc::mem_fun(someobj, &SomeClass::somemethod); * @endcode * or * @code - * sigc::slot sl = sigc::ptr_fun(&somefunction); + * sigc::slot sl = sigc::ptr_fun(&somefunction); * @endcode * or, in gtkmm, * @code @@ -207,7 +207,7 @@ struct SIGC_API slot_do_unbind * sigc::mem_fun() and sigc::ptr_fun() return functors, but those functors are * not slots. * @code - * sigc::slot sl = sigc::mem_fun(someobj, &SomeClass::somemethod); + * sigc::slot sl = sigc::mem_fun(someobj, &SomeClass::somemethod); * @endcode * is not equivalent to * @code diff --git a/sigc++/member_method_trait.h b/sigc++/member_method_trait.h index 35ad2d1..3c07f1c 100644 --- a/sigc++/member_method_trait.h +++ b/sigc++/member_method_trait.h @@ -24,6 +24,8 @@ namespace sigc { +namespace internal { + template struct member_method_is_const; @@ -143,6 +145,8 @@ struct member_method_result using type = T_result; }; -} /* namespace sigc */ +} // namespace internal + +} // namespace sigc #endif /* _SIGC_MEMBER_METHOD_TRAITS_H_ */ diff --git a/sigc++/sigc++.h b/sigc++/sigc++.h index 64fcd66..54c07d4 100644 --- a/sigc++/sigc++.h +++ b/sigc++/sigc++.h @@ -65,17 +65,35 @@ * g++ program.cc -o program `pkg-config --cflags --libs sigc++-3.0` * @endcode * + * @subsection autotools Using Autotools + * * Alternatively, if using autoconf, use the following in @c configure.ac: * @code - * PKG_CHECK_MODULES([LIBSIGC], [sigc++-3.0]) + * PKG_CHECK_MODULES([DEPS], [sigc++-3.0]) * @endcode - * Then use the generated @c LIBSIGC_CFLAGS and @c LIBSIGC_LIBS variables + * Then use the generated @c DEPS_CFLAGS and @c DEPS_LIBS variables * in the project @c Makefile.am files. For example: * @code - * program_CPPFLAGS = $(LIBSIGC_CFLAGS) - * program_LDADD = $(LIBSIGC_LIBS) + * yourprogram_CPPFLAGS = $(DEPS_CFLAGS) + * yourprogram_LDADD = $(DEPS_LIBS) * @endcode * + * Your @c PKG_CHECK_MODULES() call should also mention any other libraries that + * you need to use via pkg-config. + * + * @subsection cmake Using CMake + * + * If using CMake, use the following in @c CMakeList.txt: + * @code + * include(FindPkgConfig) + * pkg_check_modules(DEPS REQUIRED sigc++-3.0) + * include_directories(${DEPS_INCLUDE_DIRS}) + * target_link_libraries(yourprogram ${DEPS_LIBRARIES}) + * @endcode + * + * Your @c pkg_check_modules() call should also mention any other libraries that + * you need to use via pkg-config. + * * @section scope Scope of Documentation * * libsigc++ contains many template functions and template classes/structs, diff --git a/sigc++/signal.h b/sigc++/signal.h index 07edba2..6df4207 100644 --- a/sigc++/signal.h +++ b/sigc++/signal.h @@ -599,7 +599,7 @@ struct signal_emit { using self_type = signal_emit; using result_type = typename T_accumulator::result_type; - using slot_type = slot; + using slot_type = slot; using slot_iterator_buf_type = internal::slot_iterator_buf; using slot_reverse_iterator_buf_type = internal::slot_reverse_iterator_buf; using iterator_type = signal_impl::const_iterator_type; @@ -683,7 +683,7 @@ struct signal_emit { using self_type = signal_emit; using result_type = T_return; - using slot_type = slot; + using slot_type = slot; using iterator_type = signal_impl::const_iterator_type; using call_type = typename slot_type::call_type; @@ -774,7 +774,7 @@ struct signal_emit { using self_type = signal_emit; using result_type = void; - using slot_type = slot; + using slot_type = slot; using iterator_type = signal_impl::const_iterator_type; using call_type = typename slot_type::call_type; @@ -854,7 +854,7 @@ class signal_with_accumulator public: using emitter_type = internal::signal_emit; using result_type = typename emitter_type::result_type; - using slot_type = slot; + using slot_type = slot; using slot_list_type = slot_list; using iterator = typename slot_list_type::iterator; using const_iterator = typename slot_list_type::const_iterator; @@ -964,8 +964,7 @@ public: }; -/** Convenience wrapper for the numbered sigc::signal# templates. - * signal can be used to connect() slots that are invoked +/** signal can be used to connect() slots that are invoked * during subsequent calls to emit(). Any functor or slot * can be passed into connect(). It is converted into a slot * implicitly. @@ -986,6 +985,12 @@ public: * the emit() function: * - @e T_return The desired return type of the emit() function. * - @e T_arg Argument types used in the definition of emit(). * + * For instance, to declare a signal whose connected slot returns void and takes + * two parameters of bool and int: + * @code + * sigc::signal some_signal; + * @endcode + * * To specify an accumulator type the nested class signal::accumulated can be used. * * @par Example: @@ -999,14 +1004,16 @@ public: * @ingroup signal */ template -class signal +class signal; + +template +class signal : public signal_with_accumulator { public: using accumulator_type = void; - /** Convenience wrapper for the numbered sigc::signal# templates. - * Like sigc::signal but the additional template parameter @e T_accumulator + /** Like sigc::signal but the additional template parameter @e T_accumulator * defines the accumulator type that should be used. * * An accumulator is a functor that uses a pair of special iterators @@ -1015,7 +1022,7 @@ public: * executes the slot. The return value is buffered, so that in an expression * like @code a = (*i) * (*i); @endcode the slot is executed only once. * The accumulator must define its return value as @p result_type. - * + * * @par Example 1: * This accumulator calculates the arithmetic mean value: * @code diff --git a/sigc++/signal_base.h b/sigc++/signal_base.h index a0e2037..bf79dd5 100644 --- a/sigc++/signal_base.h +++ b/sigc++/signal_base.h @@ -265,7 +265,7 @@ private: * class MyClass * { * public: - * using MySignalType = sigc::signal; + * using MySignalType = sigc::signal; * MySignalType get_my_signal() { return m_my_signal; } * private: * MySignalType m_my_signal; diff --git a/sigc++/tuple-utils/tuple_cdr.h b/sigc++/tuple-utils/tuple_cdr.h index eab31a6..c4d013a 100644 --- a/sigc++/tuple-utils/tuple_cdr.h +++ b/sigc++/tuple-utils/tuple_cdr.h @@ -41,6 +41,7 @@ struct tuple_type_cdr> namespace detail { template +constexpr decltype(auto) tuple_cdr_impl(T&& t, std::index_sequence<0, I...>) { @@ -55,6 +56,7 @@ tuple_cdr_impl(T&& t, std::index_sequence<0, I...>) * This is analogous to std::tuple_cat(). */ template +constexpr decltype(auto) tuple_cdr(T&& t) { //We use std::decay_t<> because tuple_size is not defined for references. diff --git a/sigc++/tuple-utils/tuple_end.h b/sigc++/tuple-utils/tuple_end.h index 60637ae..890eddc 100644 --- a/sigc++/tuple-utils/tuple_end.h +++ b/sigc++/tuple-utils/tuple_end.h @@ -27,7 +27,9 @@ namespace detail { template struct tuple_end_impl { - static decltype(auto) // typename tuple_type_end::type + constexpr + static + decltype(auto) // typename tuple_type_end::type tuple_end(T&& t) { static_assert(remove_from_start > 0, "remove_from_start must be more than zero."); @@ -39,7 +41,9 @@ struct tuple_end_impl { template struct tuple_end_impl { - static decltype(auto) + constexpr + static + decltype(auto) tuple_end(T&& t) { return tuple_cdr(std::forward(t)); } @@ -47,7 +51,9 @@ struct tuple_end_impl { template struct tuple_end_impl { - static decltype(auto) + constexpr + static + decltype(auto) tuple_end(T&& t) { return std::forward(t); } @@ -59,6 +65,7 @@ struct tuple_end_impl { * Get the tuple with the last @a len items of the original. */ template +constexpr decltype(auto) // typename tuple_type_end::type tuple_end(T&& t) { //We use std::decay_t<> because tuple_size is not defined for references. diff --git a/sigc++/tuple-utils/tuple_for_each.h b/sigc++/tuple-utils/tuple_for_each.h index 760b52d..43dab3c 100644 --- a/sigc++/tuple-utils/tuple_for_each.h +++ b/sigc++/tuple-utils/tuple_for_each.h @@ -29,7 +29,9 @@ template