0
我有包括任何.cpp文件‘filesystem.h’當MSVC表達2013,編譯錯誤。 「錯誤c2228左邊必須有類/結構/聯合
」'.ptr'左邊的錯誤c2228必須有class/struct/union「。
它指向錯誤的filesystem.h
文件,該文件是"\microsoft visual studio 12.0\vc\include"
template<class _Path> inline
bool remove(const _Path& _Pval)
{ // remove _Pval
-->> return (_Unlink(_Pval._Ptr()) == 0);
}
謝謝你的任何建議的一部分。
你有問題嗎?這是你的錯誤很可惜,但我們也沒有辦法,沒有_your_代碼。 – ForceBru
嗨,我已經添加了代碼。它發生只是包括CPP。 –
ransh