0

我试图把这个:

boost::polygon::voronoi_diagram<> diagram;

...在我的课堂上,但我收到此错误:

error C2248: 'boost::polygon::voronoi_diagram<T>::operator =' : cannot access private member declared in class 'boost::polygon::voronoi_diagram<T>'

如果我改为在函数体中声明它,我不会收到此错误。

4

0 回答 0