You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the first parameter to a std::bind is a std::function, the code does not work. The stack shows up to 63k recursive calls to:
std::__1__function<float (float, float)>::function<std::__1::__bind<std::__1::function<float (float, float)>&, float, float > > ()
How to compile:
clang++ -std=c++11 -stdlib=libc++ -lcxxrt -ldl a.cpp
The text was updated successfully, but these errors were encountered:
Extended Description
I'm using the 3.3 sources from the following page: http://llvm.org/releases/download.html#3.3
If the first parameter to a std::bind is a std::function, the code does not work. The stack shows up to 63k recursive calls to:
std::__1__function<float (float, float)>::function<std::__1::__bind<std::__1::function<float (float, float)>&, float, float > > ()
How to compile:
clang++ -std=c++11 -stdlib=libc++ -lcxxrt -ldl a.cpp
The text was updated successfully, but these errors were encountered: