简体   繁体   中英

Does Qt have an equivalent to .NET's NotImplementedException or define for that?

Does Qt(C++) contain an exception equivalent to .NET's NotImplementedException?

Qt framework has a plenty defines for a lot of things(like Q_UNUSED), so maybe they got the same for not implemented methods.

I already had a look at this question Does C++ have an equivalent to .Net's , but want to clarify this question for Qt specifically (neither want to create additional hierarchy for exceptions).

No. Qt does not use exceptions outside of the concurrency framework.

You want to use C++'s standard exceptions for that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM