AsmGrader 0.0.0
Loading...
Searching...
No Matches
unknown.hpp File Reference
#include <fmt/base.h>
#include <fmt/format.h>
#include <range/v3/iterator/concepts.hpp>
#include <string>
#include <string_view>
#include <utility>
Include dependency graph for unknown.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  asmgrader
 

Functions

template<typename T >
requires (fmt::formattable<T>)
std::string asmgrader::format_or_unknown (T &&value, fmt::format_string< T > fmt="{}")
 
template<typename T >
requires (!fmt::formattable<T>)
std::string asmgrader::format_or_unknown (T &&, fmt::format_string< std::string_view > fmt="{}")
 
template<typename OutputIt , typename T >
requires (fmt::formattable<T>)
auto asmgrader::format_to_or_unknown (OutputIt &&out, T &&value, fmt::format_string< T > fmt="{}")
 
template<typename OutputIt , typename T >
requires (!fmt::formattable<T>)
auto asmgrader::format_to_or_unknown (OutputIt &&out, T &&, fmt::format_string< std::string_view > fmt="{}")