[Vc] About the weird Error C2533:

zhaozj2021-02-16  77

Error C2533: 'XMonitor :: XMonitor': Constructors Not ALLOWED A RETURN TYPE

How is this going? My constructor clearly doesn't return?

Very simple, the place for the class declaration of the header file forgot to add a ';'

The compiler is really stupid: (

转载请注明原文地址:https://www.9cbs.com/read-14645.html

New Post(0)