スポンサード リンク
Microsoft Visual C++にて以下のソースでコンパイルエラーが発生します:
コンパイルエラーメッセージ:
error C2451: 条件式の型 'std::list<int,std::allocator<_Ty>>' が間違っています。 with [ _Ty=int ]
ソース(バグ有り):
#include <list>
#include <iostream>
int main( )
{ |
ソース(修正済み):
#include <list>
#include <iostream>
int main( )
{ |
スポンサード リンク