timercpp
timercpp copied to clipboard
aut is not Allowed

Auto is not Allowed here I copy the timercpp.h to my Project and it doesnt work because every auto function has a error : 'auto' is not allowed here
Hi.. @Tobias3107 Could you please let me know your OS and gcc version
Try this. auto keyword is not always compatible with c++17.
Don't forget to add the template<typename Function> above the member function also.
source- https://www.fluentcpp.com/2018/12/28/timer-cpp/
working through this lib now looks good!
Thanks!