D28223: Add "Stat" prefix to StatDetails Enum entries

Méven Car noreply at phabricator.kde.org
Wed Mar 25 07:55:23 GMT 2020


meven added a comment.


  In D28223#633824 <https://phabricator.kde.org/D28223#633824>, @meven wrote:
  
  > Using enum class would need a bunch of added code such as described http://blog.bitwigglers.org/using-enum-classes-as-type-safe-bitmasks/
  >  I like it a lot more, this adds quite a lot of type safety.
  
  
  Maybe this could be part of KF6 adding the macros to have enum class used a bitmask and as much as possible enums ported to those enum class.

REPOSITORY
  R241 KIO

BRANCH
  master

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

To: meven, #frameworks, kossebau, dfaure
Cc: davidre, broulik, kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200325/c1c3919f/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list