65,186
社区成员




// TestCPP.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include <utility>
using namespace std;
bool function()
{
return true;
}
template <typename Func>
int test(Func func, ...) {
this is fucking stupid!!!
how could this pass compilation ?
}
int _tmain(int argc, _TCHAR* argv[])
{
typedef decltype(test(function)) res;
return 0;
}
int x = sizeof(test(function));