unqualified call to get<T>
with a non-boost::optional
type should not match
#90
Labels
get<T>
with a non-boost::optional
type should not match
#90
boost::get<T>(boost::optional<T> ...)
overload matches for a non-boost::optional
type when boost namespace is associated with argument's type of unqualified call toget<T>
.https://godbolt.org/z/14d476
The example obviously should compile, but instead it tries to instantiate
boost::optional<tag>
and fails the compilation.The text was updated successfully, but these errors were encountered: