types with no linkage cannot be used as template arguments

大抵这样
typedef   struct
{
......
}dd;

vector <dd>   x;

能告诉我么?
 
在函数内定义的类型具有无连接的属性,不能用来作模板的参数,这是C++的规定。