Go to the documentation of this file.
39 #ifndef OPENIMAGEIO_REFCNT_H
40 #define OPENIMAGEIO_REFCNT_H
46 #include <boost/shared_ptr.hpp>
47 #include <boost/intrusive_ptr.hpp>
53 using boost::shared_ptr;
54 using boost::intrusive_ptr;
66 RefCnt () { m_refcnt = 0; }
81 bool _decref ()
const {
return (--m_refcnt) == 0; }
122 #endif // OPENIMAGEIO_REFCNT_H