kfunk added a comment.

  In https://phabricator.kde.org/D3987#78421, @kossebau wrote:
  
  > Another possible issue with using `nullptr`as value for flags: it might 
break calling methods with overloads when once a pointer type and once a flags 
type is used. Not seen, but there is a risk.
  >
  >   void foo(T* t);
  >   void foo(QFlags<Flag> flags);
  >
  
  
  Both `foo(0)` & `foo(nullptr)` would call `void foo(T* t)`, no? => No change

REPOSITORY
  R280 Prison

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

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: kfunk, #frameworks, dfaure, kossebau
Cc: kossebau, dfaure, graesslin

Reply via email to