
13 Dec
2011
13 Dec
'11
4:42 p.m.
El 13/12/2011 13:23, Szymon Gatner escribió:
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).
You are right, it's a bug. I'll try to fix it when I get some time. Ion