formatter<libtmux::CommandFailure>
Formatting a failure is how it reaches a log line, so the type every call can return knows how to write itself.
Source and package
- Qualified name
-
std::formatter<libtmux:: Command Failure> - Namespace
- std
- Package
- libtmux-cxx
- Source
- include/libtmux/command.hpp
-
Description#
Inheriting the string formatter keeps fill, alignment and width working, so
{:>40}pads a failure exactly as it pads its text.__cpp_lib_formatis deliberately not tested here: libc++ 18 leaves it undefined whilestd::formatworks, so guarding on it would drop this from the clang lane and keep it on the GCC one.