[#BloombergLP-bslstl-Function_Rep-targetRaw]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Function_Rep.adoc[Function&lowbar;Rep]::targetRaw
:relfileprefix: ../../../
:mrdocs:

Return a pointer offering modifiable access to this object&apos;s target&period; If `INPLACE` is true, then the object is assumed to be allocated inplace in the small object buffer&period; Note that this function is `const` but returns a non&hyphen;`const` pointer because this type does not adhere to logical constness conventions&period; The behavior is undefined unless `typeid(TP) &equals;&equals; this&hyphen;&gt;target&lowbar;type()` and `INPLACE` correctly identifies whether the target is inplace&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;function&lowbar;rep&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class TP,
    bool INPLACE&gt;
TP*
targetRaw() const noexcept;
----


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