[ENHANCEMENT]: Add insert overloads that take value_type
as input
#410
Labels
good first issue
Good for newcomers
P2: Nice to have
Desired, but not necessary
type: feature request
New feature request
Is your feature request related to a problem? Please describe.
Firstly proposed by @sleeepyjack in #407 (comment)
The current heterogeneous insert feature requires users to pass an explicit pair type when invoking the device insert functions. So the legacy behavior like:
is no longer supported.
Describe the solution you'd like
Similar to STL insert, it would be nice to add an overload of insert taking
value_type
as input thus the sample code can work as well.The text was updated successfully, but these errors were encountered: