Click here to Skip to main content
11,709,529 members (54,147 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

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

, 20 Mar 2015 MIT 27.1K 380 39
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 9:52 Available Sean Ewington
Initial creation
13 No 19-Mar-15 18:10 Pending Gergely Mancz
Initial creation
12 No 19-Mar-15 18:08 Composing Gergely Mancz
11 No 19-Mar-15 17:57 Composing Gergely Mancz
Initial creation
10 No 19-Mar-15 8:14 Composing Gergely Mancz
9 No 10-Feb-15 9:23 Composing Gergely Mancz
Updates in content.
8 No 15-Mar-13 9:53 Available Smitha Vijayan
Updates in content. 2 changes had been made.
6 No 12-Mar-12 8:12 Available Smitha Vijayan
5 No 28-Dec-11 10:19 Available Smitha Vijayan
4 No 20-Aug-11 9:39 Available Smitha Vijayan
3 No 3-Jul-11 15:13 Composing Gergely Mancz
2 No 3-Jul-11 15:12 Composing Gergely Mancz
1 No 3-Jul-11 15: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...

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