MCPcopy Create free account
hub / github.com/fmtlib/fmt / push_back

Function push_back

include/fmt/args.h:153–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 * std::string result = fmt::vformat("{} and {} and {}", store);
152 */
153 template <typename T> void push_back(const T& arg) {
154 if FMT_CONSTEXPR20 (need_copy<T>::value)
155 emplace_arg(dynamic_args_.push<stored_t<T>>(arg));
156 else
157 emplace_arg(detail::unwrap(arg));
158 }
159
160 /**
161 * Adds a reference to the argument into the dynamic store for later passing

Callers

nothing calls this directly

Calls 6

FMT_CONSTEXPR20Function · 0.85
emplace_argFunction · 0.85
unwrapFunction · 0.85
argFunction · 0.70
getMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected