fork(1) download
  1. #include <limits>
  2.  
  3. template<bool Condition, typename T>
  4. struct EnableIf;
  5. template<typename T>
  6. struct EnableIf<true, T>
  7. {
  8. typedef T Type;
  9. };
  10.  
  11. enum
  12. {
  13. Sum=10
  14. };
  15.  
  16. typedef EnableIf< (::std::numeric_limits<unsigned long int>::max() > Sum), unsigned long int>::Type ProbabilityType;
  17.  
  18. int main() {}
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty