Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
It complies!
#include <iostream> class bar; class foo { public: operator bar() const; void use() {} }; class bar { public: bar(const foo& foo); void use() {} }; void baz() { foo f; bar b = f; // Fine b.use(); const foo f2; bar b2 = f2; // error: conversion from ‘const foo’ to ‘bar’ is ambiguous b2.use(); } int main() { std::cout << "Test" << std::endl; return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
pitch errors verification for Nowhk
ADL of operator expression & unqualified function call
Matrix_1
fusion adapt 64 members v2
VS struct_member_name
#22.1
#26.fix
rang_warnings
Spirit Lex combining token_id's with semantic actions
std::string
Please log in to post a comment.