Why does our std::optional lack the has_value() function?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Why does our std::optional lack the has_value() function?

Darin Adler
I noticed we don’t have has_value() in our version of std::optional. Does anyone know why?

— Darin
_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Why does our std::optional lack the has_value() function?

JF Bastien-2
Ours was imported from: https://github.com/akrzemi1/Optional
at: 727c729dd1d9f06f225868280e50154594d7e59d




On Jun 19, 2017, at 21:45, Darin Adler <[hidden email]> wrote:

I noticed we don’t have has_value() in our version of std::optional. Does anyone know why?

— Darin
_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev


_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Why does our std::optional lack the has_value() function?

Yusuke SUZUKI
In reply to this post by Darin Adler
I think it is just missing in the original code.

Seeing the original repository, we can find that these things are added.
We can rebaseline our copy by applying these changes.

https://github.com/akrzemi1/Optional/commits/master

Regards,
Yusuke Suzuki

On Tue, Jun 20, 2017 at 1:45 PM, Darin Adler <[hidden email]> wrote:
I noticed we don’t have has_value() in our version of std::optional. Does anyone know why?

— Darin
_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev


_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Why does our std::optional lack the has_value() function?

Yusuke SUZUKI
In reply to this post by JF Bastien-2

Regards,
Yusuke Suzuki

On Tue, Jun 20, 2017 at 1:48 PM, JF Bastien <[hidden email]> wrote:
Ours was imported from: https://github.com/akrzemi1/Optional
at: 727c729dd1d9f06f225868280e50154594d7e59d




On Jun 19, 2017, at 21:45, Darin Adler <[hidden email]> wrote:

I noticed we don’t have has_value() in our version of std::optional. Does anyone know why?

— Darin
_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev


_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev



_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Loading...