Skip to content

Commit

Permalink
feat: list sort
Browse files Browse the repository at this point in the history
  • Loading branch information
PraneethJain authored and barche committed Jul 27, 2024
1 parent 84cdb51 commit 006fa32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/jlcxx/stl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ struct WrapList
{
wrapped.method("StdUpperBound", [] (WrappedT& v, const T& val) { return ListIteratorWrapper<T>{std::ranges::upper_bound(v, val)}; });
wrapped.method("StdLowerBound", [] (WrappedT& v, const T& val) { return ListIteratorWrapper<T>{std::ranges::lower_bound(v, val)}; });
wrapped.method("StdListSort", [] (WrappedT& v) { v.sort(); });
}
#endif
wrapped.module().unset_override_module();
Expand Down

0 comments on commit 006fa32

Please sign in to comment.