Version 0.15.1 of CAF has just released. This patch removes the non-null
guarantee on actor handles. While the non-null guarantee is a nice property and
allows for cleaner code in some parts in CAF, the absence of a default
constructor puts obstacles in the way of developers trying to port from earlier
version of CAF. Also, using actor handles in containers or optional
was
painful. Sending messages to invalid handles is a no-op, no checking by the
user required.
Further changes:
actor_system_config
for custom parametersinspect()
when serializing/deserializing.unsafe()
(simply use bool conversion instead)spawn_in_group<T>
CAF_NO_EXCEPTIONS
optional<T>
’s move ctor/assignment noexcept if noexcept in T