[Dune-devel] Latest try with Dune and Windows (Visual Studio 2015 CTP 6)
Christian Engwer
christian.engwer at uni-muenster.de
Mon Mar 9 08:53:46 CET 2015
> 00103 template<unsigned int p>
> 00104 struct PartitionSet<partitions | p>
> 00105 operator+(const PartitionSet<p>& set) const
> 00106 {
> 00107 return PartitionSet<partitions | p>();
> 00108 }
>
> and MSVC does not like the template parameter in line 104. I am
> not sure,
> but is this a expression SFINAE? If yes, then we are unlucky as
> this
> feature needs major compiler changes which are excluded from
> Visual C++
> 2015.
this really just integer logic operations. Perhaps you could try to
wrap the expression in brackets:
> 00104 struct PartitionSet<(partitions | p)>
Ciao
Christian
More information about the Dune-devel
mailing list