add ifndefs to all headers

This commit is contained in:
Antonio SJ Musumeci 2016-12-22 22:46:20 -05:00
parent e93c946198
commit a60d815e92
91 changed files with 444 additions and 12 deletions

View file

@ -14,6 +14,9 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef __ASSERT_HPP__
#define __ASSERT_HPP__
#define STATIC_ASSERT(cond) assert::StaticAssert< (cond) >()
#define STATIC_ARRAYLENGTH_ASSERT(array,size) STATIC_ASSERT(((sizeof(array)/sizeof(array[0]))==(size)))
@ -26,3 +29,5 @@ namespace assert
struct StaticAssert<true>
{};
}
#endif