include the otel header-only part directly for ease of use

This commit is contained in:
Grant Limberg 2025-07-11 13:12:13 -07:00
parent 8895ad182f
commit 7f835b414a
No known key found for this signature in database
GPG key ID: 8F2F97D3BE8D7735
241 changed files with 49967 additions and 3 deletions

View file

@ -0,0 +1,21 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
#pragma once
// IWYU pragma: private, include "opentelemetry/nostd/string_view.h"
#include <string_view>
#include "opentelemetry/version.h"
OPENTELEMETRY_BEGIN_NAMESPACE
// Standard Type aliases in nostd namespace
namespace nostd
{
// nostd::string_view
using string_view = std::string_view;
} // namespace nostd
OPENTELEMETRY_END_NAMESPACE