← Back to team overview

leaningtech-dev team mailing list archive

[Bug 1309491] [NEW] emplace_back with unique_ptr fails

 

Public bug reported:

I know it would probably be better to use push_back with move semantics
and make_unique, but I have this testcase (attached) that fails at
runtime due to a missing constructor.

** Affects: duetto
     Importance: Undecided
         Status: New

** Attachment added: "main.cpp"
   https://bugs.launchpad.net/bugs/1309491/+attachment/4087299/+files/main.cpp

-- 
You received this bug notification because you are a member of
Leaningtech Team, which is subscribed to Duetto.
https://bugs.launchpad.net/bugs/1309491

Title:
  emplace_back with unique_ptr fails

Status in Duetto: C++ for the Web:
  New

Bug description:
  I know it would probably be better to use push_back with move
  semantics and make_unique, but I have this testcase (attached) that
  fails at runtime due to a missing constructor.

To manage notifications about this bug go to:
https://bugs.launchpad.net/duetto/+bug/1309491/+subscriptions


Follow ups

References