Click here to Skip to main content
15,896,063 members
Articles / Programming Languages / C

Improving C++ Enums: Adding Serialization, Inheritance, and Iteration

Rate me:
Please Sign up or sign in to vote.
4.05/5 (13 votes)
15 Apr 2009CPOL5 min read 77.5K   283   42  
A different approach to C++ enums: enum to string, enum extensions, and enum iterations.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Spain Spain
B.Sc. Mathematics and Computer Science.
Programming in C++ since 2003.

Comments and Discussions