|
libkeepass 0.2.0
KeePass key database importer/exporter library
|
Streams values into a built-in string builder. More...
#include <format.hh>
Public Member Functions | |
| Format (const Format &rhs)=delete | |
| Non-copyable. | |
| Format & | operator= (const Format &rhs)=delete |
| Non-copyable. | |
| Format ()=default | |
| Creates an empty builder. | |
| template<typename T > | |
| Format & | operator<< (const T &val) |
| Appends a value to the builder. | |
| operator std::string () const | |
| Converts the builder to a string. | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Format &format) |
| Writes the builder's contents to an output stream. | |
Streams values into a built-in string builder.
Format accumulates values via operator<< and converts to std::string or an output stream, avoiding manual formatting with snprintf-style calls.