struct STRUCT
{
string Str;
voidoperator =( STRUCT& ) {}
voidoperator =( int& ) {}
};
STRUCT Func()
{
STRUCT Res = {0};
return(Res); // OKreturn(true ? Res : Res); // Неадекватные ошибки компилятора// 'operator=' - no one of the overloads can be applied to the function call// could be one of 2 function(s)// void STRUCT::operator=(int&)// void STRUCT::operator=(STRUCT&)// 'operator=' - structure have objects and cannot be copied
}
2017.06.07 23:29:03.554 EURUSD : real ticks begin from 2017.04.10 00:00:00 2017.06.07 23:29:03.564 2017.04.10 00:00:00 instant buy 1.00 EURUSD at 1.05918 (1.05885 / 1.05918) 2017.06.07 23:29:03.564 2017.04.10 00:00:00 deal #2 buy 1.00 EURUSD at 1.05918 done (based on order #2) 2017.06.07 23:29:03.564 2017.04.10 00:00:00 deal performed [#2 buy 1.00 EURUSD at 1.05918] 2017.06.07 23:29:03.564 2017.04.10 00:00:00 order performed buy 1.00 at 1.05918 [#2 buy 1.00 EURUSD at 1.05918] 2017.06.07 23:29:03.566 2017.04.10 00:00:00 CTrade::OrderSend: instant buy 1.00 EURUSD at 1.05918 [done at 1.05918] 2017.06.07 23:29:03.569 2017.04.10 01:00:00 instant sell 1.00 EURUSD at 1.05833 (1.05833 / 1.05845 / 1.05831) 2017.06.07 23:29:03.569 2017.04.10 01:00:00 deal #3 sell 1.00 EURUSD at 1.05833 done (based on order #3) 2017.06.07 23:29:03.569 2017.04.10 01:00:00 deal performed [#3 sell 1.00 EURUSD at 1.05833] 2017.06.07 23:29:03.569 2017.04.10 01:00:00 order performed sell 1.00 at 1.05833 [#3 sell 1.00 EURUSD at 1.05833] 2017.06.07 23:29:03.570 2017.04.10 01:00:00 CTrade::OrderSend: instant sell 1.00 EURUSD at 1.05833 [done at 1.05833] 2017.06.07 23:29:03.570 2017.04.10 01:00:00 #3 sell 1.00 EURUSD at 1.05833 2017.06.07 23:29:03.570 2017.04.10 01:00:00 #2 buy 1.00 EURUSD at 1.05918 2017.06.07 23:29:03.570 2017.04.10 01:00:00 CSymbolInfo::CheckMarketWatch: Unknown symbol '' 2017.06.07 23:29:03.570 2017.04.10 01:00:00 #1 balance 100000.00 []
スクリーンショット最後のトランザクションがGUIに表示されない。1596-1606で再現。
kodobaseでは、ソースファイルに誤解を招くようなpostfix__Xがつけられて います。
例:TypeToBytes__10.mqh
CPositionInfo::Commission はスペルが間違っています。
どちらでしょうか?