Kùzu C++ API
Loading...
Searching...
No Matches
string_format.h File Reference
#include <string>
#include <string_view>
#include <type_traits>
#include "internal.h"

Go to the source code of this file.

Namespaces

namespace  kuzu
 
namespace  kuzu::common
 
namespace  kuzu::common::string_format_detail
 

Macros

#define MAP_STD_TO_STRING(typ)
 
#define MAP_SELF(typ)
 

Functions

 kuzu::common::string_format_detail::MAP_SELF (const char *)
 
std::string kuzu::common::string_format_detail::map (signed char v)
 
std::string kuzu::common::string_format_detail::map (unsigned char v)
 
template<typename... Args>
void kuzu::common::string_format_detail::stringFormatHelper (std::string &ret, std::string_view format, Args &&... args)
 
template<typename Arg , typename... Args>
void kuzu::common::string_format_detail::stringFormatHelper (std::string &ret, std::string_view format, Arg &&arg, Args &&... args)
 
template<typename... Args>
std::string kuzu::common::stringFormat (std::string_view format, Args... args)
 

Macro Definition Documentation

◆ MAP_SELF

#define MAP_SELF ( typ)
Value:
inline typ map(typ v) { \
return v; \
}

◆ MAP_STD_TO_STRING

#define MAP_STD_TO_STRING ( typ)
Value:
inline std::string map(typ v) { \
return std::to_string(v); \
}