title: What is the difference between std::list::insert() and std::list::emplace()
body: <p>What is the difference between std::list::insert() and std::list::emplace()? I need to pass a value to either of them. I had expected emplace to create an instance of the list's data type without initializing it with some value I pass but just construct it, because the documentation says that it constructs a new element in place.</p>