multi_segment_services.hpp

来自「Boost provides free peer-reviewed portab」· HPP 代码 · 共 47 行

HPP
47
字号
////////////////////////////////////////////////////////////////////////////////// (C) Copyright Ion Gaztanaga 2005-2008. Distributed under the Boost// Software License, Version 1.0. (See accompanying file// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)//// See http://www.boost.org/libs/interprocess for documentation.////////////////////////////////////////////////////////////////////////////////#ifndef BOOST_INTERPROCESS_MULTI_SEGMENT_SERVICES_HPP#define BOOST_INTERPROCESS_MULTI_SEGMENT_SERVICES_HPP#if (defined _MSC_VER) && (_MSC_VER >= 1200)#  pragma once#endif#include <boost/interprocess/detail/config_begin.hpp>#include <boost/interprocess/detail/workaround.hpp>/*!\file   Describes a named shared memory allocation user class. */namespace boost {namespace interprocess {class multi_segment_services{   public:   virtual std::pair<void *, std::size_t> create_new_segment(std::size_t mem) = 0;   virtual bool                           update_segments   () = 0;   virtual ~multi_segment_services() = 0;};inline multi_segment_services::~multi_segment_services(){}}} //namespace boost {  namespace interprocess {#include <boost/interprocess/detail/config_end.hpp>#endif //#ifdef BOOST_INTERPROCESS_MULTI_SEGMENT_SERVICES_HPP

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?