Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aut is not Allowed #3

Open
Tobias3107 opened this issue Mar 24, 2020 · 2 comments
Open

aut is not Allowed #3

Tobias3107 opened this issue Mar 24, 2020 · 2 comments

Comments

@Tobias3107
Copy link

image

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

@shalithasuranga
Copy link
Contributor

Hi.. @Tobias3107 Could you please let me know your OS and gcc version

@hadwll
Copy link

hadwll commented Apr 4, 2020

Try this. auto keyword is not always compatible with c++17.

Capturetemp

Don't forget to add the template above the member function also.

Capturetemp2

source- https://www.fluentcpp.com/2018/12/28/timer-cpp/

working through this lib now looks good!

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants