Limit concat to non pointer types to avoid hard to track problems
This commit is contained in:
@@ -69,6 +69,23 @@ namespace JabyEngine {
|
||||
struct conjunction<B1, Bn...> : conditional<bool(B1::value), conjunction<Bn...>, B1>::type {
|
||||
};
|
||||
|
||||
// #############################################
|
||||
|
||||
template<class T>
|
||||
struct is_pointer : false_type {};
|
||||
|
||||
template<class T>
|
||||
struct is_pointer<T*> : true_type {};
|
||||
|
||||
template<class T>
|
||||
struct is_pointer<T* const> : true_type {};
|
||||
|
||||
template<class T>
|
||||
struct is_pointer<T* volatile> : true_type {};
|
||||
|
||||
template<class T>
|
||||
struct is_pointer<T* const volatile> : true_type {};
|
||||
|
||||
// #############################################
|
||||
|
||||
template<typename T, typename... Ts>
|
||||
|
Reference in New Issue
Block a user