D17606: [WIP] Use <optional> if available.

Tobias C. Berner noreply at phabricator.kde.org
Wed Dec 26 17:43:28 GMT 2018


tcberner added a comment.


  In D17606#377854 <https://phabricator.kde.org/D17606#377854>, @dvratil wrote:
  
  > I've recently run into the same problem on Akonadi on Windows, ended up allowing C++17 on Windows only and shipping a C++14-compatible implementation of C++17 optional in 3rdparty for everyone else.
  >
  >   Maybe we could just get rid of the `optional` in this agent until we can switch to C++17 proper. I hate not having it, but it's just one or two occurrences here and probably not worth the magic to satisfy all compilers.
  
  
  How about also using that 3rdparty optional here?

REPOSITORY
  R206 KMail

REVISION DETAIL
  https://phabricator.kde.org/D17606

To: tcberner, #freebsd, mlaurent, dvratil
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20181226/b79319c7/attachment.html>


More information about the kde-pim mailing list