Sha256: 7c029292d817b072999215599f3d79e41b25d3ddd1b4c205e12db89020a68374

Contents?: true

Size: 544 Bytes

Versions: 34

Compression:

Stored size: 544 Bytes

Contents

// Copyright (c) 2018-2020 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

34 entries across 34 versions & 1 rubygems

Version Path
couchbase-3.0.0.alpha.4-universal-darwin-19 ext/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.0.0.alpha.4 ext/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.0.0.alpha.3-x86_64-linux ext/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.0.0.alpha.3-x86_64-darwin-19 ext/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.0.0.alpha.3-universal-darwin-19 ext/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.0.0.alpha.3 ext/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.0.0.alpha.2-x86_64-linux ext/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.0.0.alpha.2-x86_64-darwin-19 ext/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.0.0.alpha.2-universal-darwin-19 ext/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.0.0.alpha.2 ext/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.0.0.alpha.1-x86_64-linux ext/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.0.0.alpha.1-x86_64-darwin-19 ext/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.0.0.alpha.1-universal-darwin-19 ext/third_party/json/include/tao/json/contrib/pair_traits.hpp
couchbase-3.0.0.alpha.1 ext/third_party/json/include/tao/json/contrib/pair_traits.hpp