If A is the name of a class. The following is a valid statement: A a = function_to_return_object_of_class_A(); The compiler will catch the following 'error': A = function_to_return_object_of_class_A(); ---------------------------------- However, in Cint, when I type A = function_to_return_object_of_class_A(); Cint goes ahead and executes that function and associates the generated object with the name 'A'. If this particular Cint session proceeds, it breaks down at certain point later. ------------------------------------------- I also recall that one can write ptr.member instead of ptr->member in Cint. I am wondering if there is any plan to update Cint's syntax checking so that it will catch any statement that does not conform to C++ rules. Thanks, HP
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET