mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
once only header for hpp files
This commit is contained in:
parent
b064b9bbfd
commit
32bc3f826e
@ -1,4 +1,5 @@
|
|||||||
|
#ifndef NGS_TYPE_TRAITS_HPP
|
||||||
|
#define NGS_TYPE_TRAITS_HPP
|
||||||
|
|
||||||
namespace ngcore
|
namespace ngcore
|
||||||
{
|
{
|
||||||
@ -6,3 +7,5 @@ namespace ngcore
|
|||||||
template<bool ... vals>
|
template<bool ... vals>
|
||||||
constexpr bool all_of_tmpl = std::is_same<_BoolArray<vals...>, _BoolArray<(vals || true)...>>::value;
|
constexpr bool all_of_tmpl = std::is_same<_BoolArray<vals...>, _BoolArray<(vals || true)...>>::value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // NGS_TYPE_TRAITS_HPP
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#ifndef NGS_VERSION_HPP
|
||||||
|
#define NGS_VERSION_HPP
|
||||||
|
|
||||||
namespace ngcore
|
namespace ngcore
|
||||||
{
|
{
|
||||||
@ -82,3 +84,4 @@ namespace ngcore
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
#endif // NGS_VERSION_HPP
|
||||||
|
Loading…
Reference in New Issue
Block a user