From 006fa32f40bed965b42eda8d55f23dd6965fba91 Mon Sep 17 00:00:00 2001 From: PraneethJain Date: Fri, 26 Jul 2024 20:59:14 +0530 Subject: [PATCH] feat: list sort --- include/jlcxx/stl.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/jlcxx/stl.hpp b/include/jlcxx/stl.hpp index 40033e6..c7d7ebc 100644 --- a/include/jlcxx/stl.hpp +++ b/include/jlcxx/stl.hpp @@ -613,6 +613,7 @@ struct WrapList { wrapped.method("StdUpperBound", [] (WrappedT& v, const T& val) { return ListIteratorWrapper{std::ranges::upper_bound(v, val)}; }); wrapped.method("StdLowerBound", [] (WrappedT& v, const T& val) { return ListIteratorWrapper{std::ranges::lower_bound(v, val)}; }); + wrapped.method("StdListSort", [] (WrappedT& v) { v.sort(); }); } #endif wrapped.module().unset_override_module();