On Tuesday, April 26, 2016 at 3:39:53 AM UTC+10, Botond Ballo wrote:

> That's why we have explicit operator bool() in C++11. That only allows

Indeed. explicit operator was implied.

Here is an example of definition:
https://dxr.mozilla.org/mozilla-central/source/dom/media/MediaData.h#201
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to