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 31,348 of 33,346    |
|    Matthias Hofmann to Bart van Ingen Schenau    |
|    Re: Type length in bits?    |
|    14 May 11 02:17:29    |
   
   XPost: comp.lang.c++   
   From: hofmann@anvil-soft.com   
      
   "Bart van Ingen Schenau" schrieb im Newsbeitrag   
   news:ipr9ha$92o$1@ingen-schenau.demon.nl...   
   >   
   > Matthias Hofmann Wrote:   
   >   
   >> I there actually a difference between the << and the >> operator with   
   >> respect to the number of positions that can be shifted?   
   >   
   > No, but the >> operator is not defined if the left-hand operand has a   
   > value   
   > < 0.   
      
   Really? So this is undefined behaviour? I thought that this would shift in   
   sign bits from the left, at least that's what happens on Microsoft Visual   
   C++ 6.0.   
      
   --   
   Matthias Hofmann   
   Anvil-Soft, CEO   
   http://www.anvil-soft.com - The Creators of Toilet Tycoon   
   http://www.anvil-soft.de - Die Macher des Klomanagers   
      
      
    [ 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