Closed Zhaojun-Liu closed 10 months ago
What stikes me as odd, ... how did boost::array<boost::array<T,3>,351>
get in there (or somewhere) after standalone?
Let me look if it's in the code base or a third party-lib mixing it up, ...?
Cc: @jzmaddock and @mborland
I wonder if the client code used boost::array
parasitically and it was previously available?
I searched, ... and I can't find any use of boost::array
in the develop
branch of Multiprecison.
Maybe it could be another header included in the include paths or possibly (less likely) something in the client code.
I only pulled all of the boost dependencies out of the include folder. I'll just do a complete replacement of boost::array
with std::array
in the tests.
do a complete replacement of
boost::array
withstd::array
in the tests.
Oh great catch Matt (@mborland). Many thanks.
Recently we updated the boost commit, the below tests failed with
error C2027: use of undefined type 'boost::array<boost::array<T,3>,351>'
anderror C2676: binary '[': 'const boost::array<boost::array<T,3>,351>' does not define this operator or a conversion to a type acceptable to the predefined operator
anderror C2059: syntax error: ')'
Repro steps: (Open vs2022 x64 native Tools Command Prompt)
Detailed log: test.117.log
More info: the boost commit 2fe33ef is ok.