void-packages/srcpkgs/imagescan/patches/boost-1.80.patch

16 lines
381 B
Diff

_1 should be looked up via ADL, don't know
--- a/utsushi/functional.hpp
+++ b/utsushi/functional.hpp
@@ -59,6 +59,11 @@ using NAMESPACE::function;
using NAMESPACE::ref;
using NAMESPACE::reference_wrapper;
+#if __cplusplus >= 201103L && !WITH_INCLUDED_BOOST
+using std::placeholders::_1;
+using std::placeholders::_2;
+#endif
+
} // namespace utsushi
#undef NAMESPACE