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,556 of 33,346    |
|    Thomas Richter to All    |
|    Re: Template typedef and ternary operato    |
|    24 Sep 12 01:00:05    |
      From: thor@math.tu-berlin.de              Am 24.09.2012 06:25, schrieb fmatthew5876:       > I want to implement an optimization at compile time based on whether       > the size of a pointer is large enough to store an object.       > Basically all I'm trying to accomplish is a compile time optimization       > if pointers are large enough to directly store 64 bit integers.              Honestly, this sounds like premature optimization to me. I would just       store the 64bit integers directly. Have you measured the difference in       running time and/or memory footprint to be sure that this is actually       worth doing? I personally would not believe so, but if, then this sounds       more like a job for autoconf than for the compiler.              So long,        Thomas                     --        [ 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