Click here to Skip to main content
15,899,754 members
Articles / Programming Languages / Visual C++ 9.0

Typesafe C++ Enum with ToString() and FromString()

Rate me:
Please Sign up or sign in to vote.
4.73/5 (11 votes)
13 Nov 2010CPOL2 min read 43.3K   443   15  
An enum with macro + template magic, providing type safety and type info

Views

Daily Counts

Downloads

Weekly Counts

License

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


Written By
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions