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

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12329: typedef argument_type missing on optional<T&>
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-09-19 17:31:52


#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
Resolution: | Keywords:
--------------------------------------------+------------------------

Comment (by Daniel Laügt <daniel.laugt@…>):

 reference_type, reference_const_type, rval_reference_type typedefs also
 already do this. This was just for using a unique typedef argument_type to
 have:
  - T const& for optional<T>
  - T& for optional<T&>

 But now, I see that I can use the typedef reference_const_type instead for
 this purpose. For optional<T>, it seems that reference_const_type and
 argument_type are redundant.

 Anyway, this ticket was just a nice to have... It can be closed.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12329#comment:2>
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