MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / makeArray

Function makeArray

lib/utils.h:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81template<class T, class ... Ts>
82inline std::array<T, sizeof...(Ts) + 1> makeArray(T x, Ts... xs)
83{
84 return {std::move(x), std::move(xs)...};
85}
86
87// Enum hash for C++11. This is not needed in C++14
88struct EnumClassHash {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected