[#BloombergLP-baljsn-EncodeImplUtil_ValueDispatcher-operator_call-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/EncodeImplUtil_ValueDispatcher.adoc[EncodeImplUtil&lowbar;ValueDispatcher]::operator()
:relfileprefix: ../../../
:mrdocs:

Same as the primary `operator()` overload for the specified `category`&period;

== Synopsis

Declared in `&lt;baljsn&lowbar;encodeimplutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
int
operator()(
    TYPE const& value,
    xref:BloombergLP/bdlat_TypeCategory/Enumeration.adoc[bdlat&lowbar;TypeCategory::Enumeration] category);
----

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| value to encode
| *category*
| `bdlat` Enumeration type&hyphen;category tag
|===


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