-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workingcontainerContainer related taskContainer related taskp2higher priorityhigher priority
Description
Problem
When Vector is instantiated from class that has not default c-tor, every method that uses pushingRealloc(...) with PushDecide::kNoPush will produce CE. It happens at the 543 line - there are no args to pass to allocator's construct(...), thus, it is instantiated without args and it calls default c-tor. However, with PushDecide::kNoPush there aren't calls to default c-tor, so it shouldn't be instantiated.
Possible solution
Refactor code to instantiate construct(...) only when needed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcontainerContainer related taskContainer related taskp2higher priorityhigher priority