スポンサード リンク
Microsoft Visual C++にて以下のソースでコンパイルエラーが発生します:
コンパイルエラーメッセージ:
error C3867: 'std::list<int,std::allocator<_Ty>>::empty': 非標準の構文です。メンバーにポインタを作成するには '&' を使用してください with [ _Ty=int ]
ソース(バグ有り):
#include <list>
#include <iostream>
int main( )
{ |
ソース(修正済み):
#include <list>
#include <iostream>
int main( )
{ |
スポンサード リンク