Boost logo

Boost Users :

Subject: Re: [Boost-users] compiling error C1001 for common_type.hpp on boost_1_64_0
From: Connie Zhang (czhangs716_at_[hidden])
Date: 2017-06-20 13:41:20


Hi, John,
You are correct!
After I applied update 5, those errors were gone.
Thanks for your input!
Connie

Sent from Yahoo Mail. Get the app

On Tue Jun 20 2017 04:25:40 GMT-0400 (Eastern Daylight Time), John Maddock via Boost-users <boost-users_at_[hidden]> wrote:

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 mailing list
Boost-users_at_[hidden]
https://lists.boost.org/mailman/listinfo.cgi/boost-users


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