|
From: Fernando P. <fpe...@gm...> - 2010-06-03 15:59:55
|
It is not a bug. The following code compiles well on MSVC 9 (Visual Studio
2008)
// -- begin code
#include <iostream>
#include <ciso646>
int main()
{
bool temp = true;
if ( not temp )
{
std::cout << "it's is false" << std::endl;
}
else
{
std::cout << "it's is true" << std::endl;
}
return 0;
}
// -- end
You just have to include <ciso646>
Regards,
Fernando.
On Thu, Jun 3, 2010 at 12:39 PM, Nelson, Erik - 2 <
eri...@ba...> wrote:
> Fernando Pelliccioni wrote:
>
> > Why not do
> > if ( ! boost::iequals(parts.scheme.substr(0, 5), "https") )
> > instead of
> > if ( not boost::iequals(parts.scheme.substr(0, 5), "https") )
>
> I prefer the second way- it's more expressive and it's standards-compliant.
> This is a bug in the Microsoft compiler.
>
> Erik
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Cpp-netlib-devel mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel
>
|