1
1
//------------------------------------------------------------------------------
2
2
// <auto-generated>
3
3
// This code was generated by a tool.
4
- // Runtime Version:6.0.28
4
+ // Runtime Version:6.0.32
5
5
//
6
6
// Changes to this file may cause incorrect behavior and will be lost if
7
7
// the code is regenerated.
@@ -178,7 +178,7 @@ public virtual string TransformText() {
178
178
this . Write ( this . ToStringHelper . ToStringWithCulture ( _option . Name . ToFuncName ( ) ) ) ;
179
179
this . Write ( "_, Args...>(m_" ) ;
180
180
this . Write ( this . ToStringHelper . ToStringWithCulture ( _option . Name . DashToUnderscore ( ) ) ) ;
181
- this . Write ( ", std::move (args)...);\n " ) ;
181
+ this . Write ( ", std::forward<Args> (args)...);\n " ) ;
182
182
}
183
183
else {
184
184
if ( problemStdArray ) {
@@ -188,7 +188,8 @@ public virtual string TransformText() {
188
188
this . Write ( this . ToStringHelper . ToStringWithCulture ( _option . Name . ToFuncName ( ) ) ) ;
189
189
this . Write ( "_, Args...>(m_" ) ;
190
190
this . Write ( this . ToStringHelper . ToStringWithCulture ( _option . Name . DashToUnderscore ( ) ) ) ;
191
- this . Write ( ", std::move(args)...);\n // todo replace by static assert\t \n if(!exist_" ) ;
191
+ this . Write ( ", std::forward<Args>(args)...);\n // todo replace by static assert\t \n if(!exi" +
192
+ "st_" ) ;
192
193
this . Write ( this . ToStringHelper . ToStringWithCulture ( _option . Name . DashToUnderscore ( ) ) ) ;
193
194
this . Write ( ")\n throw " ) ;
194
195
this . Write ( this . ToStringHelper . ToStringWithCulture ( SimpleTypeExtensions . Namespace ( ) ) ) ;
@@ -201,7 +202,7 @@ public virtual string TransformText() {
201
202
this . Write ( this . ToStringHelper . ToStringWithCulture ( _option . Name . DashToUnderscore ( ) ) ) ;
202
203
this . Write ( " = OptionTools::requiredFixedArray<" ) ;
203
204
this . Write ( this . ToStringHelper . ToStringWithCulture ( _option . Name . ToFuncName ( ) ) ) ;
204
- this . Write ( "_, 1, Args...>(std::move (args)...)[0];\n " ) ;
205
+ this . Write ( "_, 1, Args...>(std::forward<Args> (args)...)[0];\n " ) ;
205
206
}
206
207
}
207
208
}
@@ -215,7 +216,7 @@ public virtual string TransformText() {
215
216
this . Write ( this . ToStringHelper . ToStringWithCulture ( _option . Name . ToFuncName ( ) ) ) ;
216
217
this . Write ( "_, " ) ;
217
218
this . Write ( this . ToStringHelper . ToStringWithCulture ( _option . MinOccurs ) ) ;
218
- this . Write ( ", -1, Args...>(std::move (args)...);\n " ) ;
219
+ this . Write ( ", -1, Args...>(std::forward<Args> (args)...);\n " ) ;
219
220
}
220
221
this . Write ( "\n " ) ;
221
222
} ;
0 commit comments