---
title: "System::Buffers::ArrayPool::get_Shared method"
url: "https://reference.aspose.com/pdf/cpp/system.buffers/arraypool/get_shared/"
product: "Aspose.PDF for C++ API Reference"
description: "System::Buffers::ArrayPool::get_Shared method. Retrieves the process-wide shared pool instance. The instance is created lazily on first access and configured with the default options in C++."
---

## ArrayPool::get_Shared method


Retrieves the process-wide shared pool instance. The instance is created lazily on first access and configured with the default options.

```cpp
static SharedPtr<ArrayPool<T>> System::Buffers::ArrayPool<T>::get_Shared()
```


### ReturnValue

A shared pool with the default configuration.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [ArrayPool](../)
* Namespace [System::Buffers](../../)
* Library [Aspose.PDF for C++](../../../)
