Helper functions for std optionals. More...
#include <optional>#include <string>#include <fmt/compile.h>#include <fmt/format.h>
 Include dependency graph for optionals.hpp:Go to the source code of this file.
Namespaces | |
| namespace | utils | 
| Utilities.  | |
Functions | |
| template<class T > | |
| std::string | utils::ToString (const std::optional< T > &from) | 
| Converts std::optional to a string, empty value represented as "--".   | |
Helper functions for std optionals.
Definition in file optionals.hpp.