We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7cf7ec7 + d20df6a commit 90312adCopy full SHA for 90312ad
2 files changed
.github/workflows/main_ci_xmake.yml
@@ -32,7 +32,7 @@ jobs:
32
xmake-version: "latest"
33
34
- name: Configure
35
- run: xmake config -y --mode=${{ matrix.mode }} --vs_toolset=14.41
+ run: xmake config -y --mode=${{ matrix.mode }} --vs_toolset=14
36
37
- name: Build
38
run: xmake build -y -vD
CommonLibF4/include/REX/REX/Setting.h
@@ -41,6 +41,10 @@ namespace REX
41
42
void SetValue(T a_value) { m_value = a_value; }
43
44
+ public:
45
+ operator T&() { return m_value; }
46
+ operator const T&() const { return m_value; }
47
+
48
protected:
49
T m_value;
50
T m_valueDefault;
0 commit comments