decay.h 316 B

12345678910111213141516
  1. // Copyright The OpenTelemetry Authors
  2. // SPDX-License-Identifier: Apache-2.0
  3. #pragma once
  4. #include <type_traits>
  5. #include "opentelemetry/version.h"
  6. OPENTELEMETRY_BEGIN_NAMESPACE
  7. namespace nostd
  8. {
  9. template <class T>
  10. using decay_t = typename std::decay<T>::type;
  11. } // namespace nostd
  12. OPENTELEMETRY_END_NAMESPACE