From bb9a899b7c45b830c6b70e2811130a41ebb31ee5 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Thu, 20 Sep 2012 15:19:49 +1000 Subject: Remove exceptions and C++11 features for LLVM. --- impl/Complete.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'impl/Complete.hpp') diff --git a/impl/Complete.hpp b/impl/Complete.hpp index 81ced52..5219c9e 100644 --- a/impl/Complete.hpp +++ b/impl/Complete.hpp @@ -16,7 +16,8 @@ struct Complete { Complete(const T& value, const bool& infinity) : _value(value), _infinity(infinity) { if (value == 0 && infinity == true) { - throw "Zero infinity? Die die die!"; + std::cout << "throw exception" << *(char*)NULL; + //throw "Zero infinity? Die die die!"; } } Complete(const Complete& other) -- cgit v1.2.3