
15 Oct
2011
15 Oct
'11
11:56 p.m.
On 15 October 2011 18:24, Nathan Ridge <zeratul976@hotmail.com> wrote:
For starters, any use of [std|boost]::array<T> where T is not default constructible and I do not wish to make it so just so I can use it in an array.
So, you desperately want to optimize away an "if" check, but a copy operation on a typical class that cannot be default constructed is a-okay? It's not like anyone has even bothered to ask for emplace_back, which would seem to me to be a far more important optimization opportunity if this were indeed a real-world use case... -- Nevin ":-)" Liber <mailto:nevin@eviloverlord.com> (847) 691-1404