syncevolution/src/dbus
Patrick Ohly 2fa3c3335a C++: replace boost::shared_ptr, boost::function, boost::bind
We can use std::shared_ptr and std::function instead now.

Lambdas are usually a better alternative to boost/std::bind. The
downside is the need to explicitly specify parameters completely. When
inlining callbacks entirely with lambdas, duplication of that
parameter list can be avoided.

Whenever possible, use std::make_shared to construct objects that are
tracked by std::shared_ptr.

Some objects need a std::weak_ptr during object destruction. For that
we have to use our own implementation of std::enable_shared_from_this,
with a matching creator function. The additional benefit is that we
can get rid of explicit static "create" methods by making that create
function a friend.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2020-12-05 21:28:08 +01:00
..
glib autotools: be more selective about suppressing deprecation warnings 2018-01-09 07:53:27 -08:00
interfaces autotools: fix race condition related to src/dbus/interfaces docs 2013-09-04 11:09:34 +02:00
qt autotools: include missing src/dbus/qt/configure-sub.in 2012-01-11 16:10:08 +01:00
server C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
dbus.am Port build system to non-recursive Automake. 2011-08-30 16:38:34 +02:00