9 #ifndef LIBPMEMOBJ_CPP_VARIADIC_HPP
10 #define LIBPMEMOBJ_CPP_VARIADIC_HPP
22 template <
class T,
class... Args>
23 struct is_first_arg_same {
24 static constexpr
bool value =
false;
31 template <
class T,
class FirstArg,
class... Args>
32 struct is_first_arg_same<T, FirstArg, Args...> {
33 static constexpr
bool value = std::is_same<T, FirstArg>::value;
Persistent memory namespace.
Definition: allocation_flag.hpp:15