Sha256: c0dbe09b9bb14025f540bde62d23f004d81c7b0cb62eb5c04ae2fcd870dd61cf

Contents?: true

Size: 544 Bytes

Versions: 7

Compression:

Stored size: 544 Bytes

Contents

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

#ifndef TAO_JSON_CONTRIB_PAIR_TRAITS_HPP
#define TAO_JSON_CONTRIB_PAIR_TRAITS_HPP

#include <utility>

#include "../binding.hpp"

namespace tao::json
{
   template< typename U, typename V >
   struct pair_traits
      : binding::array< TAO_JSON_BIND_ELEMENT( &std::pair< U, V >::first ),
                        TAO_JSON_BIND_ELEMENT( &std::pair< U, V >::second ) >
   {};

}  // namespace tao::json

#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/contrib/pair_traits.hpp
couchbase-3.4.4 ext/couchbase/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.4.3 ext/couchbase/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.4.2 ext/couchbase/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.4.1 ext/couchbase/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.4.0 ext/couchbase/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.3.0 ext/couchbase/third_party/json/include/tao/json/contrib/pair_traits.hpp