shared_ptr.h 486 B

12345678910111213141516171819202122
  1. // Copyright The OpenTelemetry Authors
  2. // SPDX-License-Identifier: Apache-2.0
  3. #pragma once
  4. // IWYU pragma: private, include "opentelemetry/nostd/shared_ptr.h"
  5. #include <memory> // IWYU pragma: export
  6. #include "opentelemetry/version.h"
  7. OPENTELEMETRY_BEGIN_NAMESPACE
  8. // Standard Type aliases in nostd namespace
  9. namespace nostd
  10. {
  11. // nostd::shared_ptr<T...>
  12. template <class... _Types>
  13. using shared_ptr = std::shared_ptr<_Types...>;
  14. } // namespace nostd
  15. OPENTELEMETRY_END_NAMESPACE