Date
2007-11-11.00:00:00
Message id
3678

Content

In an emplace member function the function parameter pack may be bound to a priori unlimited number of objects: some or all of them can be elements of the container itself. Apparently, in order to conform to the blanket statement [container.requirements]/11, the implementation must check all of them for that possibility. A possible solution can involve extending the exception in [container.requirements]/12 also to the emplace member. As a side note, the push_back and push_front member functions are luckily not affected by this problem, can be efficiently implemented anyway.