home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c++.moderated      Moderated discussion of C++ superhackery      33,346 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 32,166 of 33,346   
   =?UTF-8?B?RGFuaWVsIEtyw7xnbGVy?= to All   
   Re: function template explicit specializ   
   21 Apr 12 13:07:12   
   
   From: daniel.kruegler@googlemail.com   
      
   Am 20.04.2012 07:46, schrieb Daniel Krügler:   
   > Therefore in regard to expression analysis we can say the following   
   > about the sub-expression 'b':   
   >   
   > a) It is an lvalue.   
   >   
   > b) It has type dummy const.   
   >   
   > The const-qualifier is conserved here, because dummy is a class type   
   > (According to [basic.lval] p4 this does not apply to non-class   
   > types, even though it does apply for array types as well).   
      
   The last part within the parenthesis may cause confusion, because it   
   does not really fit here in this discussion: Only prvalues of   
   non-class, non-array types are not cv-qualified. But since we are   
   speaking about an lvalue of dummy, this special rule is not relevant   
   in this context.   
      
   Greetings from Bremen,   
      
   Daniel Krügler   
      
      
      
   --   
         [ See http://www.gotw.ca/resources/clcm.htm for info about ]   
         [ comp.lang.c++.moderated.    First time posters: Do this! ]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca