mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
16 lines
238 B
C++
16 lines
238 B
C++
#pragma once
|
|
|
|
template <bool Predicate, typename Result = void>
|
|
class TEnableIf;
|
|
|
|
template <typename Result>
|
|
class TEnableIf<true, Result>
|
|
{
|
|
public:
|
|
typedef Result Type;
|
|
};
|
|
|
|
template <typename Result>
|
|
class TEnableIf<false, Result>
|
|
{ };
|