Sha256: 277396b83cf3ff96d19d80e5ed3e71b246500002469000b0ae56e9172f230dee

Contents?: true

Size: 673 Bytes

Versions: 6

Compression:

Stored size: 673 Bytes

Contents

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

#ifndef TAO_JSON_EVENTS_TO_VALUE_HPP
#define TAO_JSON_EVENTS_TO_VALUE_HPP

#include "set_value.hpp"

#include "../value.hpp"

namespace tao::json::events
{
   // Events consumer to build a JSON Value.

   template< template< typename... > class Traits >
   struct to_basic_value
      : set_basic_value< Traits >
   {
      basic_value< Traits > value;

      to_basic_value() noexcept
         : set_basic_value< Traits >( value )
      {}
   };

   using to_value = to_basic_value< traits >;

}  // namespace tao::json::events

#endif

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
couchbase-3.4.5 ext/couchbase/third_party/json/include/tao/json/events/to_value.hpp
couchbase-3.4.4 ext/couchbase/third_party/json/include/tao/json/events/to_value.hpp
couchbase-3.4.3 ext/couchbase/third_party/json/include/tao/json/events/to_value.hpp
couchbase-3.4.2 ext/couchbase/third_party/json/include/tao/json/events/to_value.hpp
couchbase-3.4.1 ext/couchbase/third_party/json/include/tao/json/events/to_value.hpp
couchbase-3.4.0 ext/couchbase/third_party/json/include/tao/json/events/to_value.hpp