MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / force_tuple

Function force_tuple

extlibs/sol3/include/sol/sol.hpp:1865–1872  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1863 namespace meta_detail {
1864 template <typename T>
1865 decltype(auto) force_tuple(T&& x) {
1866 if constexpr (meta::is_specialization_of_v<meta::unqualified_t<T>, std::tuple>) {
1867 return std::forward<T>(x);
1868 }
1869 else {
1870 return std::tuple<T>(std::forward<T>(x));
1871 }
1872 }
1873 } // namespace meta_detail
1874
1875 template <typename... X>

Callers 1

tuplefyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected