https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109182
Bug ID: 109182
Summary: unused parameter pack is in expected(in_place_t)
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: hewillk at gmail dot com
Target Milestone: ---
include/std/expected#L1305:
template<typename... _Args>
constexpr explicit
expected(in_place_t) noexcept
: expected()
{ }
Although this seems to be unobservable, it doesn't seem to make much sense to
introduce an unused parameter pack here.
I suspect that this may be a typo. Please correct me if this is intentional.