[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

E X C E P T I O N A L

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 6
Thread images: 4

File: __.png (51KB, 580x494px) Image search: [Google]
__.png
51KB, 580x494px
Why is there no error generated here?
>>
File: _.png (88KB, 1398x624px) Image search: [Google]
_.png
88KB, 1398x624px
But there is error generated here???????
>>
File: ___.png (112KB, 1138x638px) Image search: [Google]
___.png
112KB, 1138x638px
http://en.cppreference.com/w/cpp/language/operator_other#Built-in_function_call_operator

>http://en.cppreference.com/w/cpp/language/operator_other#Built-in_function_call_operator
>>
File: 1480089483493.jpg (59KB, 1024x683px) Image search: [Google]
1480089483493.jpg
59KB, 1024x683px
Z E R O R E P L I E S
>>
>>57760721
what if T is a string type?
>>
>>57760721

because operator string() and string operator()() are redundant ways of defining the same operator - you're defining it twice, which is what the error is trying to tell your retarded ass.
Thread posts: 6
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

If you need a post removed click on it's [Report] button and follow the instruction.
If you like this website please support us by donating with Bitcoin at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties. Posts and uploaded images are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that website. If you need information about a Poster - contact 4chan. This project is not affiliated in any way with 4chan.