GSL moved from stdafx.h (#1676)

Added GSL.h helper for correct including
This commit is contained in:
Ivan
2016-04-20 02:32:27 +03:00
parent efc8779275
commit 75fe95eeb1
19 changed files with 51 additions and 30 deletions
+14
View File
@@ -0,0 +1,14 @@
#pragma once
#define GSL_THROW_ON_CONTRACT_VIOLATION
#pragma push_macro("new")
#pragma push_macro("Expects")
#pragma push_macro("Ensures")
#undef new
#undef Expects
#undef Ensures
#include <gsl.h>
#pragma pop_macro("Ensures")
#pragma pop_macro("Expects")
#pragma pop_macro("new")