[#BloombergLP-bsls-ProtocolTestImp-operator_ptr-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/ProtocolTestImp.adoc[ProtocolTestImp]::operator&hyphen;&gt;
:relfileprefix: ../../../
:mrdocs:

Dereference this object as if it were a `const BSLS&lowbar;PROTOCOL &ast;`&period;

== Synopsis

Declared in `&lt;bsls&lowbar;protocoltest&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bsls/ProtocolTestImp/ProtocolType.adoc[ProtocolTestImp&lt;BSLS&lowbar;PROTOCOL&gt;::ProtocolType] const*
operator&hyphen;&gt;() const;
----

== Description

Dereference this object as if it were a `const BSLS&lowbar;PROTOCOL &ast;s` in order to call a `const` method on `BSLS&lowbar;PROTOCOL`&period; Also mark this object as `entered` for the purpose of calling a protocol method&period;

== Return Value

`const` pointer to this object as `BSLS&lowbar;PROTOCOL`


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