[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-cxx-dev
Subject:    Re: CXX-DEV: Fwd: MustFix: Star 103920: Including secall.h in stdafx.h does not compile on hp [TID:
From:       Dennis Handly <dhandly () hpcllmx ! cup ! hp ! com>
Date:       2000-05-19 17:25:30
[Download RAW message or body]

>Note that the reference explain why it is illegal, and does not
>advertise for the ugly this->X (a more elegant alternative, in my
>opinion, is to import the needed name through "using" declarations).

True.  But using declarations may not work on some older compilers.

Also adding "this->" is a no brainer.  To set up the using declarations
requires you to know which template class needs them, which access
section they belong under and which base class contains the
function/variable.

I've done this when there are "many" instances of 641.
But my brain starts to get a little warm.  :-)
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE cxx-dev
 _________________________________________________________________

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic