mrdocs::makeShort

Apply the "short" specifier to the type

Synopsis

Declared in <mrdocs/Metadata/Type/FundamentalTypeKind.hpp>

bool
makeShort(FundamentalTypeKind& kind) noexcept;

Description

If applying "short" the specifier is a valid operation the function changes the type and returns true.

For instance, applying "short" to FundamentalTypeKind::Int ("int") results in FundamentalTypeKind::Short ("short int").

Return Value

Whether the operation was successful

Parameters

Name Description

kind [in]

The type to modify

Created with MrDocs