#include <limits>

    template<bool Condition, typename T>
    struct EnableIf;
    template<typename T>
    struct EnableIf<true, T>
    {
        typedef T Type;
    };

enum
{
    Sum=10
};

typedef EnableIf< (::std::numeric_limits<unsigned long int>::max() > Sum), unsigned long int>::Type ProbabilityType;

int main() {}