https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93155
Tobias Loew changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93155
--- Comment #3 from Tobias Loew ---
After reading the standard carefully, I figured out that this is not an error
since the rewrite as function templates is ambiguous:
template struct mp_similar_impl {};
template
void f(mp_similar_impl) {}
te
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93155
--- Comment #2 from Tobias Loew ---
// here is a minimal example (extracted from boost/mp11/function.hpp)
template
struct s{};
template struct mp_similar_impl;
template struct mp_similar_impl
{
using type = int;
};
// commenting the follo
++
Assignee: unassigned at gcc dot gnu.org
Reporter: tobias.loew at steag dot com
Target Milestone: ---
The following code results in an ambiguity-error:
#include
#include
int main(){
static constexpr bool b = boost::mp11::mp_similar,
std::list>::value;
}
Please f