![](https://secure.gravatar.com/avatar/b47d036b8f12e712f4960ba78404c3b2.jpg?s=120&d=mm&r=g)
1 Nov
2008
1 Nov
'08
10:17 p.m.
J.B.C.Engelen wrote:
Hi all,
I added a proper constructor for nodepath that does nothing at the moment. It should be private, people should use sp_nodepath_new to create new nodepaths. However, this does not work: (snip)
The friend function has to be declared before the friend statement. Otherwise it will not work. By the way, consider making the constructor protected instead of private, because private constructors make inheritance impossible.
Regards, Krzysztof Kosiński
--
View this message in context: http://www.nabble.com/friend-declaration-problem-tp20283828p20284913.html
Sent from the Inkscape - Dev mailing list archive at Nabble.com.