|
Boost Users : |
Subject: Re: [Boost-users] Compiler's telling me a Boost class isn't a class.
From: G S (stokestack_at_[hidden])
Date: 2010-04-16 20:02:33
>> Just started using Boost, and these three lines (which compile in another
>> project) fail here:
>>
>> // Get a list of endpoints corresponding to the server name.
>> tcp::resolver theResolver(boost::asio::io_service);
>>
>
> This is a function declaration.
Thanks for the reply, Steven.
Yes, as it turns out, the previous programmer had created a lot of
local variables with the same names as other symbols in the Boost
namespaces. This created confusion when refactoring the code.
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