Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
boost
libreoffice_compat_backports.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libreoffice_compat_backports.patch of Package boost
Backport Boost::Optional::has_value() from https://github.com/boostorg/optional/commit/5182f7f30fad87023ae5e5a4e1f660fb513fb469 needed by LibreOffice 6.4.2 Index: boost_1_54_0/boost/optional/optional.hpp =================================================================== --- boost_1_54_0.orig/boost/optional/optional.hpp +++ boost_1_54_0/boost/optional/optional.hpp @@ -653,6 +653,8 @@ class optional : public optional_detail: // This is provided for those compilers which don't like the conversion to bool // on some contexts. bool operator!() const { return !this->is_initialized() ; } + + bool has_value() const { return this->is_initialized() ; } } ; // Returns optional<T>(v)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor