syncevolution/src/backends
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
..
activesync C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
akonadi C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
evolution C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
file C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
gnome GNOME: retry keyring operations 2018-01-03 10:39:50 +01:00
goa C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
kcalextended C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
kde Use ${PKG_CONFIG} instead of pkg-config. 2015-04-17 10:41:44 +02:00
maemo C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
oauth2 C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
pbap C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
qtcontacts C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
signon C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
sqlite C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
tde TDE: various fixes 2016-11-03 00:36:32 -07:00
tdepim C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
webdav C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00
xmlrpc C++: replace boost::shared_ptr, boost::function, boost::bind 2020-12-05 21:28:08 +01:00