Hello,
I need to write something like this below but this doens't compile:
I think D doesn't know Type because it's declared before BUT I'd like keep Type inside some class...how change, please?Qt Code:
class D { public: D ( P::Type t1, P::Type t2) { } }; class P { public: static const enum Type { typea, typeb, typec }; D d1; };To copy to clipboard, switch view to plain text mode
Bookmarks