[#BloombergLP-bdlar-FieldInfo]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::FieldInfo
:relfileprefix: ../../
:mrdocs:

Concept requiring `formattingMode`, `id`, `name`, and `nameLength` accessors&period;

== Synopsis

Declared in `&lt;bdlar&lowbar;fieldinfo&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TYPE&gt;
concept FieldInfo = requires (t&lowbar;TYPE object)
&lcub;
    &lcub; object&period;formattingMode() &rcub; &hyphen;&gt; bsl&colon;&colon;convertible&lowbar;to&lt;int&gt;&semi;
    &lcub; object&period;id() &rcub; &hyphen;&gt; bsl&colon;&colon;convertible&lowbar;to&lt;int&gt;&semi;
    &lcub; object&period;name() &rcub; &hyphen;&gt; bsl&colon;&colon;convertible&lowbar;to&lt;const char &ast;&gt;&semi;
    &lcub; object&period;nameLength() &rcub; &hyphen;&gt; bsl&colon;&colon;convertible&lowbar;to&lt;int&gt;&semi;
&rcub;;
----


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