1
그래서 나는불완전한 유형의 오류를 허용하지 않고 튜플은
불완전한 유형이
#include "stdafx.h"
#include <iostream>
#include <conio.h>
#include <ctype.h>
#include <sstream>
using namespace std;
int main()
{
std::tuple<int, bool, float> human = {345, true, 2.33};
// Incomplete type is not allowed
system("pause");
return 0;
}
어떤 단서도 허용되지 않습니다이 오류를 직면하고있다?
'#include'? –
Arunmu
필요한 헤더를 제외한 모든 헤더를 포함 시켰습니다. :) – erip
관련 없음 : 코드를 이식성있게 만들기 위해'system ("pause");'를'std :: cin.get();'으로 변경하십시오. – vsoftco