MCPcopy Create free account
hub / github.com/PlatformLab/NanoLog / getArgSizes

Function getArgSizes

runtime/NanoLogCpp17.h:696–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

694 */
695template<int argNum = 0, unsigned long N, int M, typename T1, typename... Ts>
696inline size_t
697getArgSizes(const std::array<ParamType, N>& argFmtTypes,
698 uint64_t &previousPrecision,
699 size_t (&stringSizes)[M],
700 T1 head, Ts... rest)
701{
702 return getArgSize(argFmtTypes[argNum], previousPrecision,
703 stringSizes[argNum], head)
704 + getArgSizes<argNum + 1>(argFmtTypes, previousPrecision,
705 stringSizes, rest...);
706}
707
708/**
709 * Specialization for getArgSizes when there are no arguments, i.e. it is

Callers 2

TEST_FFunction · 0.85
logFunction · 0.85

Calls 1

getArgSizeFunction · 0.85

Tested by 1

TEST_FFunction · 0.68