[luabind-cvs] luabind/luabind/doc docs.rst,1.25.2.14,1.25.2.15
Brought to you by:
arvidn,
daniel_wallin
From: Arvid N. <ar...@us...> - 2005-11-09 16:59:40
|
Update of /cvsroot/luabind/luabind/luabind/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30753 Modified Files: Tag: beta7-devel2 docs.rst Log Message: fixed typo Index: docs.rst =================================================================== RCS file: /cvsroot/luabind/luabind/luabind/doc/docs.rst,v retrieving revision 1.25.2.14 retrieving revision 1.25.2.15 diff -u -d -r1.25.2.14 -r1.25.2.15 --- docs.rst 26 Oct 2005 17:18:49 -0000 1.25.2.14 +++ docs.rst 9 Nov 2005 16:59:22 -0000 1.25.2.15 @@ -773,7 +773,7 @@ There's one special operator. In Lua it's called ``__tostring``, it's not really an operator. It is used for converting objects to strings in a standard way in Lua. If you register this functionality, you will be able to use the lua -standard function ``tostring()`` for converting you object to a string. +standard function ``tostring()`` for converting your object to a string. To implement this operator in C++ you should supply an ``operator<<`` for std::ostream. Like this example: |