-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
calls to f3 and f4 do not compile:
https://godbolt.org/z/K4c1edTK3
#include <optional>
#include <string_view>
#include <boost/optional.hpp>
#include <boost/utility/string_view.hpp>
void f1( std::optional< std::string_view > ) {}
void f2( std::optional< boost::string_view > ) {}
void f3( boost::optional< std::string_view > ) {}
void f4( boost::optional< boost::string_view > ) {}
int main()
{
f1("hello");
f2("hello");
f3("hello");
f4("hello");
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels