[C++-sig] adding a doc_string to the overloaded functions

Naceur Meskini Naceur.Meskini at sophia.inria.fr
Thu May 18 14:40:13 CEST 2006


Perhaps Someone of you had already encountered this probleme,
How can I add a doc_string to the overloaded functions when we expose 
them, example I have this function:

const char* nearest_vertex_doc = "the doc of my function"

.def("nearest_vertex", &Triangulation_3::nearest_vertex, nearest_vertex_overloads_1_2())


Regards
------------------------------------
Naceur MESKINI.
INRIA



More information about the Cplusplus-sig mailing list