MQL5 syntax question
MQLFarmer:
CHashSet<long>set_positions;
CHashSet<long>set_positions;
It's a template type parameter.
Documentation on MQL5: Language Basics / Object-Oriented Programming / Class templates
- www.mql5.com
Class templates - Object-Oriented Programming - Language Basics - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Hi guys, absolutely newbie here.
I was stumbled upon a function that look like this :
I'm unfamiliar with the last line that says :
CHashSet<long>set_positions;
My question is, what does the " <long> " means ? What does it do ? Is that some type conversion ? when to use it?
Thank you for your explanation.