sigh: updated noexcept token

This commit is contained in:
Michele Caini
2022-05-09 12:16:57 +02:00
parent c6f1809d60
commit dc07af6ad1

View File

@@ -67,7 +67,7 @@ public:
using sink_type = sink<sigh<Ret(Args...), Allocator>>;
/*! @brief Default constructor. */
sigh() noexcept(std::is_nothrow_constructible_v<sigh, const allocator_type &>)
sigh() noexcept(std::is_nothrow_default_constructible_v<allocator_type> &&std::is_nothrow_constructible_v<container_type, const allocator_type &>)
: sigh{allocator_type{}} {}
/**