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,160 of 33,346    |
|    =?ISO-8859-1?Q?=D6=F6_Tiib?= to All    |
|    Re: byte buffer implementation    |
|    04 Aug 13 09:22:49    |
      From: ootiib@hot.ee              On Saturday, 3 August 2013 10:50:02 UTC+3, fmatthew5876 wrote:       > 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.              std::array is required to be aggregate by standard and so it       does not have constructors. If you need to initialize std::array's       elements then you have to do it explicitly, for example with       aggregate initialization:               std::array |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca