Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r1033 - trunk/doc


Chronological Thread 
  • From: sparker@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r1033 - trunk/doc
  • Date: Tue, 2 May 2006 14:18:51 -0600 (MDT)

Author: sparker
Date: Tue May  2 14:18:51 2006
New Revision: 1033

Modified:
   trunk/doc/Callbacks.txt
Log:
Minor corrections to callback documentation


Modified: trunk/doc/Callbacks.txt
==============================================================================
--- trunk/doc/Callbacks.txt     (original)
+++ trunk/doc/Callbacks.txt     Tue May  2 14:18:51 2006
@@ -70,7 +70,7 @@
   CallbackBase_0Data* cb = Callback::create(MyClass::printType);
   CallbackBase_0Data* cb = Callback::create(MyClass::do_XYZ, 1, 2, 3);
 
-If you callback is a member function bound to a class instance, you
+If your callback is a member function bound to a class instance, you
 must also suply a pointer to the class:
 
   MyClass2* mc;
@@ -110,3 +110,8 @@
 for the time being, but you may have to add additional ones as you
 need them.
   
+Caveats:
+
+1. Callbacks to overloaded functions/methods will not work since C++
+   cannot disambiguate the different functions.   You will get a 
compile-time error.
+




  • [MANTA] r1033 - trunk/doc, sparker, 05/02/2006

Archive powered by MHonArc 2.6.16.

Top of page