NVIDIA DeepStream SDK API Reference

9.2 Release
includes/opentelemetry/nostd/internal/absl/base/internal/identity.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 #ifndef OTABSL_BASE_INTERNAL_IDENTITY_H_
19 #define OTABSL_BASE_INTERNAL_IDENTITY_H_
20 
21 #include "../config.h"
22 
23 namespace absl {
25 namespace internal {
26 
27 template <typename T>
28 struct identity {
29  typedef T type;
30 };
31 
32 template <typename T>
33 using identity_t = typename identity<T>::type;
34 
35 } // namespace internal
37 } // namespace absl
38 
39 #endif // OTABSL_BASE_INTERNAL_IDENTITY_H_
absl::internal::identity
Definition: includes/opentelemetry/nostd/internal/absl/base/internal/identity.h:28
absl::internal::identity::type
T type
Definition: includes/opentelemetry/nostd/internal/absl/base/internal/identity.h:29
OTABSL_NAMESPACE_BEGIN
#define OTABSL_NAMESPACE_BEGIN
Definition: includes/opentelemetry/nostd/internal/absl/base/config.h:91
absl::internal::identity_t
typename identity< T >::type identity_t
Definition: includes/opentelemetry/nostd/internal/absl/base/internal/identity.h:33
internal
Definition: includes/opentelemetry/proto/collector/logs/v1/logs_service.pb.h:38
absl
Definition: includes/opentelemetry/nostd/variant.h:54
OTABSL_NAMESPACE_END
#define OTABSL_NAMESPACE_END
Definition: includes/opentelemetry/nostd/internal/absl/base/config.h:92