On 24-12-19 11:28, Martin Smith wrote:
However, instead of adding
template<class T> bool qIsEmpty(const T &t) { return t.empty(); }
we keep discussing how ugly std is=)
But that's kind of ugly too. I read it as qlsEmpty(), not qIsEmpty(). See what 
I mean? On of those is a lower case L.

How about a new approach to adding free functions:

template<class T> bool isEmptyQt(const T &t) { return t.empty(); }

martin

A namespace seems a more reasonable solution then.

André


_______________________________________________
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to