[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::c_plus_plus

Title:C++
Notice:Read 1.* and use keywords (e.g. SHOW KEY/FULL KIT_CXX_VAX_VMS)
Moderator:DECCXX::AMARTIN
Created:Fri Nov 06 1987
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3604
Total number of notes:18242

3524.0. "overloading return values in 5.5?" by MKTCRV::MANNERINGS () Wed Apr 02 1997 07:25

    A customer asks:
    
    has the possibility of overloading  return values been implemented in
    C++ for OpenVMS alpha 5.5 ?
    
    Kevin Mannerings dtn 8224320 
T.RTitleUserPersonal
Name
DateLines
3524.1DECCXX::COLEENWed Apr 02 1997 20:5415
Overloading return values is illegal with respect to the C++
ANSI (standard 13.1 paragraph 2).

Could the customer be referring to overriding virtual functions
with different return types, where the overridden function's return
type is a reference to a base class of the overriding function's
return type?  See ANSI std 10.3 paragraph 5 [class.virtual] for
the rule.

The latter will be supported in the next major release of DEC C++ V6.0.

Thanks for the input,
Coleen Phillimore
DEC C++ development
3524.2and when will V6 be ready, he asks?MKTCRV::MANNERINGSThu Apr 03 1997 07:0710
    Yes, that was it, the customer, an academic in Germany, says he
    expressed himself incorrectly when he talked about overloading values.
    
    Thank you for the answer. When I spoke to the customer again this
    morning, he asked when V6.0 will be ready. Can you tell me here or send
    me a mail?
    
    ..Kevin..
    
     
3524.3V6.0DECCXX::MITCHELLThu Apr 03 1997 21:0511
Our next release is V5.6.  We're putting the final
touches on the first field test kit and expect
to start the field test next week.

V6.0 is the major release following V5.6. We
expect to start field test in August.  

We're always interested in external field test sites
(internal ones too).  If you know of an external
site that is interested in field testing V5.6
and/or V6.0, please send me mail.