typedef{
int x,y;
}data;
・・・
hogehoge(std::vector<data>dist);

こんな使い方はできるんでしょうか?
また、こんな使い方はトリッキーなんでしょうか?