]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/meta/int2type.h
support SDK < 10.6, fixes #14902
[wxWidgets.git] / include / wx / meta / int2type.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/meta/int2type.h
3// Purpose: Generate a unique type from a constant integer
4// Author: Arne Steinarson
5// Created: 2008-01-10
6// RCS-ID: $Id$
7// Copyright: (c) 2008 Arne Steinarson
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_META_INT2TYPE_H_
12#define _WX_META_INT2TYPE_H_
13
14template <int N>
15struct wxInt2Type { enum { value=N }; };
16
17#endif // _WX_META_INT2TYPE_H_