FunctionTest.cpp: In function ‘void test_exception()’:
FunctionTest.cpp:757:11: error: reference to ‘bad_function_call’ is ambiguous
catch(bad_function_call)
^~~~~~~~~~~~~~~~~
In file included from /opt/apps/gcc/7.1.0/include/c++/7.1.0/functional:58:0,
from FunctionTest.cpp:13:
/opt/apps/gcc/7.1.0/include/c++/7.1.0/bits/std_function.h:75:9: note: candidates are: class std::bad_function_call
class bad_function_call : public std::exception
^~~~~~~~~~~~~~~~~
In file included from ../../include/loki/Function.h:22:0,
from FunctionTest.cpp:50:
../../include/loki/Functor.h:1180:11: note: class Loki::bad_function_call
class bad_function_call : public std::runtime_error
^~~~~~~~~~~~~~~~~
You guys are too agressive in "using namespace".
This error appears both with gcc 7.1 (and boost 1.64 in case it matters) and Intel 17.
Is there any progress on this issue now?
Is this application still maintaining updates?