[C++-sig] Boost: overloads documentation

Joel de Guzman djowel at gmx.co.uk
Tue Apr 15 14:52:57 CEST 2003

David Abrahams wrote:

>> The Tut suggests that overload dispatchers should be passed to def
>> thus (in this case the overload dispatcher is called
>> "foo_overloads"): 
>>     .def("foo", foo, foo_overloads());
>> Should the dot preceding "def" in the line above really be there? foo
>> is a non-member function; but the line is quoted without context, so
>> I 
>> can't see (or imagine) what the scope might be.

Yes, it's an error. Fixed and committed to CVS. Thanks for spotting this.

Joel de Guzman
joel at boost-consulting.com

More information about the Cplusplus-sig mailing list