Click here to Skip to main content
13,295,691 members (51,878 online)
Click here to Skip to main content

Tagged as


39 bookmarked
Posted 4 Jul 2011

How to get the integer type of a C++ enum

, 20 Mar 2015
This article will show you how to determine the right integer type for a C++ enum in compile time with template meta-programming.



Compare Revision Minor Date Status Editor
14 - publicly available No 20-Mar-15 4:52 Available Sean Ewington
Initial creation
13 No 19-Mar-15 13:10 Pending Gergely Mancz
Initial creation
12 No 19-Mar-15 13:08 Composing Gergely Mancz
11 No 19-Mar-15 12:57 Composing Gergely Mancz
Initial creation
10 No 19-Mar-15 3:14 Composing Gergely Mancz
9 No 10-Feb-15 4:23 Composing Gergely Mancz
Updates in content.
8 No 15-Mar-13 4:53 Available Smitha Nishant
Updates in content. 2 changes had been made.
6 No 12-Mar-12 3:12 Available Smitha Nishant
5 No 28-Dec-11 5:19 Available Smitha Nishant
4 No 20-Aug-11 4:39 Available Smitha Nishant
3 No 3-Jul-11 10:13 Composing Gergely Mancz
2 No 3-Jul-11 10:12 Composing Gergely Mancz
1 No 3-Jul-11 10:05 Composing Gergely Mancz


This article, along with any associated source code and files, is licensed under The MIT License


About the Author

Gergely Mancz
Team Leader
Hungary Hungary

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.171207.1 | Last Updated 20 Mar 2015
Article Copyright 2011 by Gergely Mancz
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid