#include "iostream"
#include "string"
using namespace std;
#define AA(bb) \
string(::##bb);
int main (int argc, char *argv[])
{
AA(aa);
}
這給了我一堆錯誤,但我想了解這個錯誤:C++預處理錯誤代碼
pre.cpp:11:1: error: pasting "::" and "aa" does not give a valid preprocessing token
任何想法?