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

Static assert in C++

Rate me:
Please Sign up or sign in to vote.
4.00/5 (2 votes)
5 Aug 2010BSD3 min read 29.5K   11  
A static, or compile-time, assert for C++

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

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


Written By
Software Developer (Senior)
Sweden Sweden
Orjan has worked as a professional developer - in Sweden and England - since 1993, using a range of languages (C++, Pascal, Delphi, C, C#, Visual Basic, Python and assemblers), but tends to return to C++.

Comments and Discussions