Boost logo

Boost Users :

Subject: Re: [Boost-users] compiling error C1001 for common_type.hpp on boost_1_64_0
From: John Maddock (jz.maddock_at_[hidden])
Date: 2017-06-20 08:25:26


On 19/06/2017 16:22, Connie Zhang via Boost-users wrote:
> Hi, there,
>
> I am getting internal error C1001 on one of the library header file.
> it points to the line inside the code:
>
> template<class T1, class T2, class... T> using common_type_fold =
> common_type_t<common_type_t<T1, T2>, T...>;
>
> Do anyone has some idea for how to fix it?

Yes: make sure your Visual Studio has all the latest patches applied, as
I recall this was fixed in one of the updates (update 4 is the latest I
believe).

HTH, John.

>
> The program is on Visual Studio 2013.
>
> Thank you for your input.
>
> WZ
>
> Sent from Yahoo Mail. Get the app <https://yho.com/148vdq>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users

---
This email has been checked for viruses by AVG.
http://www.avg.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net