mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 19:59:05 +08:00
Turn off ICC's conversion warning in is_convertible implementation
This commit is contained in:
parent
cc1ab64f29
commit
40e4637d79
@ -115,7 +115,14 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
static From ms_from;
|
static From ms_from;
|
||||||
|
#ifdef __INTEL_COMPILER
|
||||||
|
#pragma warning push
|
||||||
|
#pragma warning ( disable : 2259 )
|
||||||
|
#endif
|
||||||
enum { value = sizeof(test(ms_from, 0))==sizeof(yes) };
|
enum { value = sizeof(test(ms_from, 0))==sizeof(yes) };
|
||||||
|
#ifdef __INTEL_COMPILER
|
||||||
|
#pragma warning pop
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename From, typename To>
|
template<typename From, typename To>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user