
13 Dec
2011
13 Dec
'11
12:23 p.m.
Hi, question: why container::deque<T>::emplace_back() requires T to be copyable? Shouldn't it just be using placement new operator with passed c-tor params? Unless growing of deque causes elements to be copied which is not what I want at all (hence deque and not vector). Cheers, Simon -- Szymon Gatner The Lordz Games Studio www.thelordzgamesstudio.com