Subject: Re: [boost] Boost.Outcome review - First questions
From: Peter Dimov (lists_at_[hidden])
Date: 2017-05-22 00:21:14
Niall Douglas wrote:
> >> it confuses Visual Studio's intellisense,
> Are you guys doing something unusual?
This is what I just did: in VS2017, I pasted this code:
// boost::outcome::result<int> x( std::errc::operation_not_permitted );
boost::outcome::outcome<int> x = boost::outcome::make_errored_outcome(
if( x.has_value() )
std::cout << "Value: " << x.value() << std::endl;
std::cout << "Error: " << x.error() << std::endl;
std::cout << "<windows.h> has been included\n";
and when I type x., Intellisense doesn't want to display anything.