BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bslfmt::FormatterPointer_Nullptr< t_CHAR > Struct Template Reference

#include <bslfmt_formatterpointer.h>

Inheritance diagram for bslfmt::FormatterPointer_Nullptr< t_CHAR >:
bslfmt::FormatterIntegralBase< bsl::nullptr_t, t_CHAR >

Detailed Description

template<class t_CHAR>
struct bslfmt::FormatterPointer_Nullptr< t_CHAR >

This struct is a specialization of the bsl::formatter template for the bsl::nullptr_t.

Public Member Functions

template<class t_FORMAT_CONTEXT >
t_FORMAT_CONTEXT::iterator format (bsl::nullptr_t, t_FORMAT_CONTEXT &formatContext) const
 
- Public Member Functions inherited from bslfmt::FormatterIntegralBase< bsl::nullptr_t, t_CHAR >
BSLS_KEYWORD_CONSTEXPR_CPP20 t_PARSE_CONTEXT::iterator parse (t_PARSE_CONTEXT &parseContext)
 
char * formatPrefix (char *prefixStorage, int storageSize, t_ACTUAL_VALUE_TYPE value) const
 
t_CHAR * formatValue (t_CHAR *valueStorage, int storageSize, t_ACTUAL_VALUE_TYPE value) const
 
t_FORMAT_CONTEXT::iterator outputValue (const char *prefixBegin, const char *prefixEnd, const t_CHAR *valueBegin, const t_CHAR *valueEnd, t_FORMAT_CONTEXT &formatContext) const
 
const StandardFormatSpecification< t_CHAR > & specification () const
 

Member Function Documentation

◆ format()

template<class t_CHAR >
template<class t_FORMAT_CONTEXT >
t_FORMAT_CONTEXT::iterator bslfmt::FormatterPointer_Nullptr< t_CHAR >::format ( bsl::nullptr_t  ,
t_FORMAT_CONTEXT &  formatContext 
) const
inline

Create string representation of the bsl::nullptr_t object, customized in accordance with the requested format and the specified formatContext, and copy it to the output that the output iterator of the formatContext points to.


The documentation for this struct was generated from the following file: