]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/intrusive/example/doc_slist.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / intrusive / example / doc_slist.cpp
index c513177e42b3d595c6c627d722fd2a5f98b87da5..eda8f85fb534f04562c61d1d43d714bc6ac78556 100644 (file)
@@ -27,6 +27,9 @@ class MyClass : public slist_base_hook<>
    MyClass(int i)
       :  int_(i)
    {}
+   //<-
+   int get_int() const { return int_; }
+   //->
 };
 
 //Define an slist that will store MyClass using the public base hook