Boost logo

Boost Users :

From: John McCabe (john_at_[hidden])
Date: 2022-01-11 14:51:30


On 11/01/2022 10:22, Alessio Mochi via Boost-users wrote:
> Hello,
> I can't resolve my exception when I compile my qt project with visual
> studio 2022.
>
> Error C2039 'throw_exception': is not a member of 'boost' DentalCad
> E:\boost_1_78_0\boost\serialization\throw_exception.hpp 30
>
> I tried a compile a small example and work correctly without exception.
> I don't understand how solve the problem. Have you a suggest?
>
That's the sort of error you normally get if you've included a header
where the boost namespace is declared, but the header file where
throw_exception is declared has not been included.

Does Visual Studio have an include browser where you can see what the
hierarchy of included headers are?


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