This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.
> Actually, you could simulate recursion (if you want to is another > issue), You don't want to (except that tail recursion can be handled). > and forward declarations are just function calls (an inline, > proper, is defined at its point of declaration). Not in C++; you can (and sometimes must) declare that an inline function will occur later, and more forward declaration is possible. > However, I think the right thing to do is to force an inline and if it > is impossible, document when it's impossible, and give an error. Currently, you get a warning if you specify -Winline (and inlining is enabled). I don't see any reason to change it to an error (there's a separate flag that will treat any warning as an error, so you could use that).