You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
API doc need to be improved to provide semantic of returned nullptr #133
/**
* Returns the Speakable String representing the given semantic feature.
*
* @param feature - the semantic feature for which the value is requested.
* @return Speakable String
*/
SpeakableString* getFeatureValue(const SemanticFeature& feature) const override;
...
/**
* Converts the concept to a Speakable String
*
* @return Speakable String
*/
SpeakableString* toSpeakableString() const override;
/**
* Clones the concept
*
* @return concept
*/
InflectableStringConcept* clone() const override;
all these three may return nullptr or a valid pointer. We should document what the caller should do when it is not nullptr (to delete them to release memory) and what does that mean when the return value is nullptr (error condition or somethin else)
Activity