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 33,159 of 33,346    |
|    woodbrian77@googlemail.com to All    |
|    Re: byte buffer implementation    |
|    03 Aug 13 23:13:24    |
      On Saturday, August 3, 2013 2:50:02 AM UTC-5, fmatthew5876 wrote:       >       > In practice the signed vs unsigned char issue hardly matters       > unless you're treating the chars themselves as 8 bit ints.              This is the impression I've had also.              >       >       > I have no qualms with C style arrays especially for a temporary buffer       > for doing IO. There's nothing faster than allocating a fixed buffer       > on the stack.       >       > std::array is just like a struct containing a C array       > except that it always initializes its members. This is a slight       > but not really problematic inefficiency if you're just       > about to write to the buffer.       >              I don't think std::array initializes its members:              #include |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca