mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
24 lines
458 B
C++
24 lines
458 B
C++
/**
|
|
* \file libpmr/def.h
|
|
* \author mutouyun (orz@orzz.org)
|
|
* \brief Define the trivial configuration information for memory resources.
|
|
* \date 2022-11-13
|
|
*/
|
|
#pragma once
|
|
|
|
#include <cstddef>
|
|
|
|
#define LIBPMR pmr
|
|
#define LIBPMR_NAMESPACE_BEG_ namespace LIBPMR {
|
|
#define LIBPMR_NAMESPACE_END_ }
|
|
|
|
LIBPMR_NAMESPACE_BEG_
|
|
|
|
/// \brief Constants.
|
|
|
|
enum : std::size_t {
|
|
central_cache_default_size = 1024 * 1024, ///< 1MB
|
|
};
|
|
|
|
LIBPMR_NAMESPACE_END_
|