Comments (4)
You need to to the initialization in the constructor like in C++
class RuleManager {
public:
RuleManager():ruleNodes_(NULL,true) {...}
}
from mql4-lib.
yes, works, I am stupid.
Is it possible use reference in HashMap? like HashMap<string, RuleNode> or HashMap<string, RuleNode&>
from mql4-lib.
Simple answer is no. Just use pointer, it is the same.
If you want to use HashMap<string,RuleNode>, RuleNode class should have value semantics, meaning it must have copy/assignment constructors. It is not efficient to use it this way.
from mql4-lib.
thanks a lot
from mql4-lib.
Related Issues (20)
- Save and load Vector from disk HOT 3
- New update to MT4 1210 2019.9.6, LinkedList.mqh ERROR. HOT 2
- ArrayList is mentioned in the documentation, however it's missing in the code
- Pushing to Vector or Linked list a reference cause compiler error HOT 2
- Implement "as series" for Vector
- Array out of range error while iterating over elements in the Vector HOT 1
- how to sort the LinkedList HOT 1
- "Invalid Point access" error on calling SymbolAnalyzer::getConversionSymbol of FxSymbol module HOT 1
- '=' - type mismatch GlobalVariable.mqh HOT 3
- '=' - type mismatch GlobalVariable.mqh 292 12 HOT 1
- Please update Json parse example in README file
- Json.mqh 的 parseInt 是否該做以下修正? HOT 3
- Finish Making Cross Version HOT 1
- 1
- Compilation error in 'HelloWorldServer.mq4' file HOT 2
- Can i use this libary for trade a account without EA HOT 4
- Classes in collections HOT 1
- does this lib support mac os m1 HOT 2
- LinkedList Initialization in MQL4 HOT 3
- SortedArray with custom SortComparer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mql4-lib.