Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22196

Gcc - c++ - force trailing return to functions

$
0
0

After reading gcc warning page

I would like to force every function to have their return type defined

auto f() -> force_this_return_type_presence{}

I would have liked a gcc warning turned into an error with Werror but I could not find anything around this idea.

Anything I missed?

Thanks


Viewing all articles
Browse latest Browse all 22196

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>