c preprocessor - What's the meaning of ## in the define code in C++ -


#define declare_delete_ptr(type) \ void deleteptr_##type(string &operand) \ {\ }\ 

what's meaning of ## in macro definition in c++?

what's difference followed code?

#define make_strings(var) #var 

it 1 #, former 2 #

it concatenates value pass through parameter type...

declare_delete_ptr(gremlin) 

would expand to:

void deleteptr_gremlin(string &operand) { } 

Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -