MCPcopy Create free account
hub / github.com/PABannier/bark.cpp / make_array

Function make_array

examples/server/json.hpp:3206–3209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3204
3205template<typename T, typename... Args>
3206inline constexpr std::array<T, sizeof...(Args)> make_array(Args&& ... args)
3207{
3208 return std::array<T, sizeof...(Args)> {{static_cast<T>(std::forward<Args>(args))...}};
3209}
3210
3211} // namespace detail
3212NLOHMANN_JSON_NAMESPACE_END

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected