mirror of
https://github.com/boostorg/iterator.git
synced 2025-11-16 23:49:24 +01:00
Add static_assert messages.
This commit is contained in:
committed by
Georgy Guminov
parent
82b5c44cd3
commit
4ab19e045f
@@ -7,7 +7,7 @@
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
#define STATIC_ASSERT_SAME( T1,T2 ) static_assert(std::is_same<T1, T2>::value, "")
|
||||
#define STATIC_ASSERT_SAME( T1,T2 ) static_assert(std::is_same<T1, T2>::value, "T1 ans T2 are expected to be the same types.")
|
||||
|
||||
template <class T1, class T2>
|
||||
struct static_assert_same
|
||||
|
||||
Reference in New Issue
Block a user