While converting a plugin to R20 I was replacing all String
occurrences with maxon::String
.
However, I encountered some issue when compiling.
Maybe I am just not understanding the conversion process correctly?
As such, I didn't add tags for "bug report", "issue", "API" ... feel free to add the required once.
As far as I am aware I am still using the classic API for most of the plugin structure, but am using the MAXON API for the new datastructures.
maxon::BasseArray::Append
, for instance, requires the use of the new error system, etc ...
According to
Using new Data Types
The MAXON API introduces new data types and replaces or extends classic data types:
The new maxon::String class is the base class of the classic String class. To declare a string literal as a maxon::String one can use the "_s" qualifier. The classic API has been refactured to use maxon::String wherever possible. ...
From reading the last sentence, I was assuming converting to maxon::String
was the way to go.
However, the SNHookClass
(and thus derived classes) still seem to work with the legacy String
Should I refrain from using maxon::String
here and use the legacy String
instead?