This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <vector> | |
#include <functional> | |
template<class F> | |
struct DebuggableLambda : F | |
{ | |
template<class F2> | |
DebuggableLambda(F2&& func, const char* file, int line) | |
: F(std::forward<F2>(func)) | |
, file(file) |