string_view.h 427 B

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