[Boost-bugs] [Boost C++ Libraries] #12329: typedef argument_type missing on optional<T&>

Subject: [Boost-bugs] [Boost C++ Libraries] #12329: typedef argument_type missing on optional<T&>
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-07-14 19:12:30


#12329: typedef argument_type missing on optional<T&>
-------------------------------------------+------------------------
 Reporter: Daniel Laügt <daniel.laugt@…> | Owner: fcacciola
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: optional
  Version: Boost 1.61.0 | Severity: Regression
 Keywords: |
-------------------------------------------+------------------------
 Hi,

 Any reason why typedef argument_type has been removed in the new
 specialization of optional<T&>?

 To have the same typedefs between optional<T> and optional<T&>, it would
 be nice to add the following in the specialization of optional<T&>:[[BR]]
 typedef T& argument_type;

 This allows also to keep compatibility on public interface of the old
 optional implementation, except of course if there is a good reason to
 have removing this typedef...

 Regards,[[BR]]
 Daniel.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12329>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC