|
Boost : |
Subject: Re: [boost] [optional] warning removal
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-10-20 12:35:20
AMDG
On 10/20/2012 03:47 AM, Vicente J. Botet Escriba wrote:
> can I commit this simple patch
>
This looks fine. Go ahead.
>
> svn diff ../../../boost/optional/
> Index: ../../../boost/optional/optional.hpp
> ===================================================================
> --- ../../../boost/optional/optional.hpp (revision 81020)
> +++ ../../../boost/optional/optional.hpp (working copy)
> @@ -890,12 +890,12 @@
>
> template<class T>
> inline
> -bool operator == ( none_t x, optional<T> const& y )
> +bool operator == ( none_t , optional<T> const& y )
> { return equal_pointees(optional<T>() ,y); }
>
> template<class T>
> inline
> -bool operator < ( none_t x, optional<T> const& y )
> +bool operator < ( none_t , optional<T> const& y )
> { return less_pointees(optional<T>() ,y); }
>
> template<class T>
>
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk