[Interest] >> operator and NoImplicitBoolcast

Michael Sué sue at sf.mpg.de
Thu Jun 30 08:27:04 CEST 2016


Hi,

> MyQByteArray &operator >>(T myParam)

MyQByteArray &operator >>(int &myParam) 
MyQByteArray &operator >>(long &myParam)
etc.

You will have to use a reference and you would usually create an override for each type explicitly.

- Michael.





More information about the Interest mailing list