19 Mar
2017
19 Mar
'17
11:35 a.m.
Can you elaborate on why you have a specialization that uses lower_bound()?
This provides hint for insert/emplace in case element is not found. In fact this is the default implementation, and the find() member is only used for associative containers without lower_bound().
What is the minimal C++ version required? Looks like C++14 from the auto return type.
Yes, right now C++14 is required. It is probably possible to back port this code to C++11 and maybe even C++98.