The classes voronoicell and voronoicell_neighbor are not copy-constructable. Thus code, where such objects are returned bail out at compilation (g++-10) with the error:
In file included from /voro++.hh:322,
from main.cpp:1:
voro++/cell.hh: In instantiation of ‘voro::voronoicell::voronoicell(c_class&) [with c_class = voro::voronoicell]’:
main.cpp:13:31: required from here
voro++/cell.hh:323:52: error: ‘class voro::voronoicell’ has no member named ‘max_len_sq’
323 | voronoicell(c_class &con) : voronoicell_base(con.max_len_sq) {}
| ~~~~^~~~~~~~~~
The classes voronoicell and voronoicell_neighbor are not copy-constructable. Thus code, where such objects are returned bail out at compilation (g++-10) with the error:
with the minimal example