Opened 6 years ago

Closed 6 years ago

#12175 closed Feature Requests (wontfix)

Propose serialization supports std::experimental::optional

Reported by: Tony Lewis <tonyelewis@…> Owned by: Robert Ramey
Milestone: To Be Determined Component: serialization
Version: Boost 1.61.0 Severity: Optimization
Keywords: serialization, experimental, optional, c++17 Cc:

Description

Please may I propose that the serialization library provides serialization support for std::experimental::optional for compilers that support it?

Compiler support can be tested with #ifdef __cpp_lib_experimental_optional.

I suspect the code will be very similar to that in boost/serialization/optional.hpp.

Obviously, users could all make their own version but I think it would be useful if the library provided standard code.

Thanks very much.

Change History (1)

comment:1 by Robert Ramey, 6 years ago

Resolution: wontfix
Status: newclosed

I am not going to make this change.

I depend upon boost/config.hpp ignorer to conditionally include support for more modern features. Doing isolates the serialization code and testing apparatus from decencies on particular libraries, compilers etc. When the standard library moves this to std from std::experimental and boost config.hpp get's updated accordingly, we'll take another look.

Robert Ramey

Note: See TracTickets for help on using tickets.