]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/config/test/boost_no_cxx17_std_invoke.ipp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / config / test / boost_no_cxx17_std_invoke.ipp
index 77f20e6c20fbff1930234514db90ee2e356d77a8..7de7e6aed277415b4e5b19e971ad68e4e05bbee0 100644 (file)
@@ -19,7 +19,7 @@ int foo( int i, int j) {
 
 int test() {
     int i = 1, j = 2;
-    std::invoke( foo, i, j);
+    typename std::invoke_result<int(&)(int,int), int, int>::type t = std::invoke( foo, i, j);
     return 0;
 }