Added a new boost/core/functor.hpp header.

The feader defines a new functor class template that can be used to wrap
raw functions into a function object class. This is useful, for example,
for integrating std::unique_ptr and unique_resource with custom deleters
implemented as raw functions (e.g. in C libraries).
This commit is contained in:
Andrey Semashev committed 2024-01-26 20:51:02 +03:00
1 parent 6f70ee87a3
commit 80e12e1116
6 files changed
+348 -1

No files matched your search

+2
View File
@@ -189,6 +189,8 @@ run underlying_type.cpp ;
run fclose_deleter_test.cpp : : : <target-os>windows:<define>_CRT_SECURE_NO_WARNINGS <target-os>windows:<define>_CRT_SECURE_NO_DEPRECATE ;
run functor_test.cpp ;
run pointer_traits_pointer_test.cpp ;
run pointer_traits_element_type_test.cpp ;
run pointer_traits_difference_type_test.cpp ;