[Bug c++/80243] c++ doesn't allow function to return a struct (or object?) - same thing

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 29 07:52:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80243

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jim Michaels from comment #0)
> c++ doesn't allow function to return a struct.

Of course it does.

Please stop reporting a bug every time your code doesn't compile, or you
misunderstand how C++ works.


More information about the Gcc-bugs mailing list