]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/function/test/std_bind_cxx98.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / function / test / std_bind_cxx98.cpp
index 2d69eb995247f1d936117d7e4a398b7e2fefdc11..d23fab1baa45211a34b9c2cc527a2093d40d13c3 100644 (file)
@@ -20,11 +20,12 @@ int X::foo(int x) { return -x; }
 
 int main()
 {
+#ifndef BOOST_NO_CXX98_BINDERS
       boost::function<int (int)> f;
   X x;
   f = std::bind1st(
         std::mem_fun(&X::foo), &x);
   f(5); // Call x.foo(5)
-
+#endif
     return 0;
 }