Sha256: b907dda8c89d5d8270ef376d9dcbb79c95bfb8a96ad99884df3cfa0ceda0d2c1

Contents?: true

Size: 461 Bytes

Versions: 7

Compression:

Stored size: 461 Bytes

Contents

// Copyright (c) 2017-2022 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/json/

#ifndef TAO_JSON_INTERNAL_IDENTITY_HPP
#define TAO_JSON_INTERNAL_IDENTITY_HPP

#include <type_traits>

namespace tao::internal
{
   template< typename T >
   struct identity
   {
      using type = T;
   };

   template< typename T >
   using identity_t = typename identity< T >::type;

}  // namespace tao::internal

#endif

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
couchbase-3.4.5 ext/couchbase/third_party/json/include/tao/json/internal/identity.hpp
couchbase-3.4.4 ext/couchbase/third_party/json/include/tao/json/internal/identity.hpp
couchbase-3.4.3 ext/couchbase/third_party/json/include/tao/json/internal/identity.hpp
couchbase-3.4.2 ext/couchbase/third_party/json/include/tao/json/internal/identity.hpp
couchbase-3.4.1 ext/couchbase/third_party/json/include/tao/json/internal/identity.hpp
couchbase-3.4.0 ext/couchbase/third_party/json/include/tao/json/internal/identity.hpp
couchbase-3.3.0 ext/couchbase/third_party/json/include/tao/json/internal/identity.hpp