#include <evo/impl/str.h>
Explicitly format a pointer.
- Example
int main() {
int num = 1;
return 0;
}
◆ FmtPtr() [1/2]
Constructor for formatting a pointer.
- Parameters
-
ptr | Pointer to format |
prefix | Formatting prefix to use (see FmtBasePrefix), fbpCURRENT for unspecified (default: fPREFIX0) |
width | Width to pad to, -1 for unspecified (default: 0) |
ch | Padding character to use, 0 for unspecified (default: '0') |
◆ FmtPtr() [2/2]
Constructor for formatting a pointer.
- Parameters
-
ptr | Pointer to format |
base | Formatting base to use (see FmtBase), fbCURRENT for unspecified (default: fDEC) |
prefix | Formatting prefix to use (see FmtBasePrefix), fbpCURRENT for unspecified (default: fPREFIX0) |
width | Width to pad to, -1 for unspecified (default: 0) |
ch | Padding character to use, 0 for unspecified (default: '0') |
◆ fmt
◆ ptr
The documentation for this struct was generated from the following file: