try it<br><br><div><span class="gmail_quote">2007/9/1, Renan Mendes <<a href="mailto:renanmzmendes@gmail.com">renanmzmendes@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>I've got a small question that I've not been able to answer looking at c++ tutorials:<br>- Can friend functions call other methods from the classes they are friends with?<br><br>Example<br><br>class First
<br>{<br>     public:<br>          void function1();<br>};<br><br>class Second<br>{<br>     public:<br>          void function2();<br><br>     friend void First::function1();<br>};<br><br>First::function1()<br>{  function2();  }
<br><br><br>Thanks.<br><br>Renan M Z Mendes<br>
<br>_______________________________________________<br>osg-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
</a><br><br></blockquote></div><br>