在STL中,碰到如下问题
1.#define __STL_CLASS_REQUIRES(__type_var, __concept) \
static int __##__type_var##_##__concept
中的##是起什么作用?
2.#define __STL_REQUIRES_SAME_TYPE(__type_x, __type_y) do {} while(0)
如果不想实现它,那么为何不
#define __STL_REQUIRES_SAME_TYPE(__type_x, __type_y) ;
或
#define __STL_REQUIRES_SAME_TYPE(__type_x, __type_y) while(0)
而偏偏要来个不循环 do {} while(0)