https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93155
Bug ID: 93155
Summary: Error when compiling Boost MP11 mp_similar
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
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 <list>
#include <boost/mp11.hpp>
int main(){
static constexpr bool b = boost::mp11::mp_similar<std::list<int>,
std::list<int>>::value;
}
Please find here an example:
https://godbolt.org/z/Wzaa6_