#include <iostream>
#include <stdio.h>
#include <vector>
using namespace std;
int Answer;
struct _pair {
struct _pair(int a) : value(a), cnt(1) {}
unsigned int value;
unsigned int cnt;
};
int main(int argc, char** argv)
{
return 0;
}
this code occurs error : "error: expected unqualified-id before 'int' struct _pair(int a) : value(a), cnt(1) {}"
It makes no error on VS2017, but it makes an error on GCC compiler.