<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>string_kind</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="Chapter 1. Boost.JSON">
<link rel="up" href="../ref.html" title="This Page Intentionally Left Blank 2/2">
<link rel="prev" href="boost__json__object_kind.html" title="object_kind">
<link rel="next" href="boost__json__value_to.html" title="value_to">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="boost__json__object_kind.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__json__value_to.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="json.ref.boost__json__string_kind"></a><a class="link" href="boost__json__string_kind.html" title="string_kind">string_kind</a>
</h4></div></div></div>
<p>
        <a class="indexterm" name="idm45725618704288"></a>
      </p>
<p>
        A constant used to select a <a class="link" href="boost__json__value.html" title="value"><code class="computeroutput"><span class="identifier">value</span></code></a> constructor overload.
      </p>
<h5>
<a name="json.ref.boost__json__string_kind.h0"></a>
        <span class="phrase"><a name="json.ref.boost__json__string_kind.synopsis"></a></span><a class="link" href="boost__json__string_kind.html#json.ref.boost__json__string_kind.synopsis">Synopsis</a>
      </h5>
<p>
        Defined in header <code class="literal">&lt;<a href="https://github.com/cppalliance/json/blob/master/include/boost/json/kind.hpp" target="_top">boost/json/kind.hpp</a>&gt;</code>
      </p>
<pre class="programlisting"><span class="keyword">constexpr</span> <span class="identifier">string_kind_t</span> <span class="identifier">string_kind</span><span class="special">;</span>
</pre>
<h5>
<a name="json.ref.boost__json__string_kind.h1"></a>
        <span class="phrase"><a name="json.ref.boost__json__string_kind.description"></a></span><a class="link" href="boost__json__string_kind.html#json.ref.boost__json__string_kind.description">Description</a>
      </h5>
<p>
        The library provides this constant to allow efficient construction of a
        <a class="link" href="boost__json__value.html" title="value"><code class="computeroutput"><span class="identifier">value</span></code></a>
        containing an empty <a class="link" href="boost__json__string.html" title="string"><code class="computeroutput"><span class="identifier">string</span></code></a>.
      </p>
<h5>
<a name="json.ref.boost__json__string_kind.h2"></a>
        <span class="phrase"><a name="json.ref.boost__json__string_kind.example"></a></span><a class="link" href="boost__json__string_kind.html#json.ref.boost__json__string_kind.example">Example</a>
      </h5>
<pre class="programlisting"><span class="identifier">storage_ptr</span> <span class="identifier">sp</span><span class="special">;</span>
<span class="identifier">value</span> <span class="identifier">jv</span><span class="special">(</span> <span class="identifier">string_kind</span><span class="special">,</span> <span class="identifier">sp</span> <span class="special">);</span> <span class="comment">// sp is an optional parameter</span>
</pre>
<h5>
<a name="json.ref.boost__json__string_kind.h3"></a>
        <span class="phrase"><a name="json.ref.boost__json__string_kind.see_also"></a></span><a class="link" href="boost__json__string_kind.html#json.ref.boost__json__string_kind.see_also">See
        Also</a>
      </h5>
<p>
        <a class="link" href="boost__json__string_kind_t.html" title="string_kind_t"><code class="computeroutput"><span class="identifier">string_kind_t</span></code></a>
      </p>
<p>
        Convenience header <code class="literal">&lt;<a href="https://github.com/cppalliance/json/blob/master/include/boost/json.hpp" target="_top">boost/json.hpp</a>&gt;</code>
      </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2019, 2020 Vinnie Falco<br>Copyright © 2020 Krystian Stasiowski<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="boost__json__object_kind.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__json__value_to.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
