Opened 6 years ago

Last modified 4 years ago

#12967 new Bugs

boost::none_t should be a literal type like std::nullopt_t

Reported by: Matt Rice <citrusmoose@…> Owned by: Fernando Cacciola
Milestone: Boost 1.68.0 Component: optional
Version: Boost 1.67.0 Severity: Problem
Keywords: Cc:

Description

The boost::none_t explicit constructor is not constexpr making it a non literal type. std::nullopt_t's constructor is constexpr making it a non-aggregate literal type as dictated by the standard.

Change History (4)

comment:1 by Matt Rice <citrusmoose@…>, 5 years ago

Milestone: To Be DeterminedBoost 1.65.0

comment:2 by anonymous, 5 years ago

Milestone: Boost 1.65.0Boost 1.66.0
Version: Boost 1.64.0Boost 1.65.0

comment:3 by anonymous, 4 years ago

Milestone: Boost 1.66.0Boost 1.68.0

comment:4 by anonymous, 4 years ago

Version: Boost 1.65.0Boost 1.67.0
Note: See TracTickets for help on using tickets.