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
I just installed Platform IO on my Windows 11 system to run this. When I compile, I get the following errors. I'm not very proficient in C++ so I have no idea what's going on. How can I get this to compile?
limero\inc/limero.h:723:29: error: 'OUT' was not declared in this scope
Filter(std::function<bool(OUT &, const IN &)> func) : _func(func){};
^
limero\inc/limero.h:723:47: error: template argument 1 is invalid
Filter(std::function<bool(OUT &, const IN &)> func) : _func(func){};
^
limero\inc/limero.h:724:34: error: 'OUT' was not declared in this scope
void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
^
limero\inc/limero.h:724:52: error: template argument 1 is invalid
void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
^
limero\inc/limero.h:724:34: error: 'OUT' was not declared in this scope
void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
^
limero\inc/limero.h:724:52: error: template argument 1 is invalid
void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
^
limero\inc/limero.h:724:34: error: 'OUT' was not declared in this scope
void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
^
limero\inc/limero.h:724:52: error: template argument 1 is invalid
void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
^
limero\inc/limero.h:724:34: error: 'OUT' was not declared in this scope
void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
^
limero\inc/limero.h:724:52: error: template argument 1 is invalid
void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
^
limero\inc/limero.h:724:34: error: 'OUT' was not declared in this scope
void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
^
limero\inc/limero.h:724:52: error: template argument 1 is invalid
void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
^
limero\inc/limero.h:724:20: error: 'std::function' is not a type
void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
^
limero\inc/limero.h:724:28: error: expected ',' or '...' before '<' token
void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
^
limero\inc/limero.h:725:25: error: 'IN' does not name a type
virtual void on(const IN &in) {
^
limero\inc/limero.h: In member function 'void Filter<T>::lambda(int)':
limero\inc/limero.h:724:70: error: 'func' was not declared in this scope
void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
^
The text was updated successfully, but these errors were encountered:
I just installed Platform IO on my Windows 11 system to run this. When I compile, I get the following errors. I'm not very proficient in C++ so I have no idea what's going on. How can I get this to compile?
The text was updated successfully, but these errors were encountered: