
8 Jul
2004
8 Jul
'04
4:42 p.m.
Andrei Alexandrescu (See Website for Email) wrote:
"Peter Dimov" <pdimov@mmltd.net> wrote in message news:013e01c464e5$980fd7c0$0600a8c0@pdimov...
Or maybe we should just use
int cv[] = { 1, 2, 3 }; v.assign( cv, end(cv) );
as I've been doing for years.
What??? No 'static' in front of cv??? :o)
Now seriously, 'static' can improve performance, ...
For three elements??? ;-)