Support Board
Date/Time: Fri, 07 Nov 2025 16:29:51 +0000
Post From: sc. structure passed by reference as default value to all functions
| [2021-03-08 18:39:40] |
| User907968 - Posts: 847 |
|
is there any way to pass sc structure to custom functions by &reference, and having it as a default value?
No not in the way that you want, because you are passing a reference to a specific instance of sc structure/object that relates to the chart/study.Also 'SCStudyInterfaceRef' is already alias for 's_sc&' therefore additional '&' is not needed. typedef s_sc& SCStudyInterfaceRef;
Date Time Of Last Edit: 2021-03-08 18:41:09
|
