File indexing completed on 2025-01-18 09:38:30
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_INTERPROCESS_SIMPLE_SEQ_FIT_HPP
0012 #define BOOST_INTERPROCESS_SIMPLE_SEQ_FIT_HPP
0013
0014 #ifndef BOOST_CONFIG_HPP
0015 # include <boost/config.hpp>
0016 #endif
0017 #
0018 #if defined(BOOST_HAS_PRAGMA_ONCE)
0019 # pragma once
0020 #endif
0021
0022 #include <boost/interprocess/detail/config_begin.hpp>
0023 #include <boost/interprocess/detail/workaround.hpp>
0024
0025 #include <boost/interprocess/interprocess_fwd.hpp>
0026 #include <boost/interprocess/mem_algo/detail/simple_seq_fit_impl.hpp>
0027 #include <boost/interprocess/offset_ptr.hpp>
0028
0029
0030
0031
0032 namespace boost {
0033 namespace interprocess {
0034
0035
0036
0037 template<class MutexFamily, class VoidPointer>
0038 class simple_seq_fit
0039 : public ipcdetail::simple_seq_fit_impl<MutexFamily, VoidPointer>
0040 {
0041 #if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
0042 typedef ipcdetail::simple_seq_fit_impl<MutexFamily, VoidPointer> base_t;
0043 #endif
0044
0045 public:
0046 typedef typename base_t::size_type size_type;
0047
0048
0049
0050
0051 simple_seq_fit(size_type segment_size, size_type extra_hdr_bytes)
0052 : base_t(segment_size, extra_hdr_bytes){}
0053 };
0054
0055 }
0056
0057 }
0058
0059 #include <boost/interprocess/detail/config_end.hpp>
0060
0061 #endif
0062