Value‐semantic type holding a category and optional integral value.

Synopsis

Declared in <bslfmt_formatterspecificationnumericvalue.h>

struct FormatterSpecificationNumericValue;

Description

Primarily used to represent width and precision of a format specification.

Enums

Name

Description

Category

Categories for parsed numeric format‐specification values.

Member Functions

Name

Description

FormatterSpecificationNumericValue [constructor]

Constructors

category

Return the category attribute of this object.

parse

Parse a hard‐coded integer or nested argument specification.

postprocess

Resolve a nested argument id into a concrete numeric value.

value

Return the value attribute of this object. The behavior is undefined if category is either e_DEFAULT or e_NEXT_ARG_ID.

operator==

Return true if this object equals the specified other object.

Friends

Name

Description

BloombergLP::bslfmt::FormatterSpecificationNumericValue_ArgVisitor

Visitor that extracts an integral nested format‐argument value.

Created with MrDocs