By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,214 Members | 2,099 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,214 IT Pros & Developers. It's quick & easy.

Forward Declaring enums' for header?

P: n/a
Is it possible to forward declare enums that are defined in a cpp so
that I can have a method defined in the header file with the enum as a
return type?

Aug 15 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Aug 15, 12:47 pm, Travis <travis.bow...@gmail.comwrote:
Is it possible to forward declare enums that are defined in a cpp so
that I can have a method defined in the header file with the enum as a
return type?
The user of that function (the includer) would have to see the
definition
of the enum so it has to be defined in *some* *.h file.

Aug 15 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.