[#nlohmann-basic_json-0e-get_ref-06]
= xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-0e.adoc[basic&lowbar;json&lt;&gt;]::get&lowbar;ref
:relfileprefix: ../../
:mrdocs:

get a reference value (implicit)

== Synopsis

Declared in `&lt;nlohmann&sol;json&period;hpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename ReferenceType&gt;
requires std&colon;&colon;is&lowbar;reference&lt;ReferenceType&gt;&colon;&colon;value&amp;&amp;
                   std&colon;&colon;is&lowbar;const&lt;typename std&colon;&colon;remove&lowbar;reference&lt;ReferenceType&gt;&colon;&colon;type&gt;&colon;&colon;value
ReferenceType
get&lowbar;ref() const;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
