libcarla/include/system/rpc/detail/if.h
2024-10-18 13:19:59 +08:00

17 lines
281 B
C++

#pragma once
#ifndef IF_H_1OW9DR7G
#define IF_H_1OW9DR7G
#include "rpc/detail/invoke.h"
namespace rpc {
namespace detail {
template <typename C, typename T, typename F>
using if_ = invoke<std::conditional<C::value, T, F>>;
}
}
#endif /* end of include guard: IF_H_1OW9DR7G */