Skip to content

Commit 603bffa

Browse files
committed
Add comment about isSelectable()
1 parent f62fc64 commit 603bffa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

icu4c/source/i18n/unicode/messageformat2_function_registry.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,11 @@ namespace message2 {
385385
* @internal ICU 77 technology preview
386386
* @deprecated This API is for technology preview only.
387387
*/
388-
virtual UBool isSelectable() const { return false; }
388+
virtual UBool isSelectable() const {
389+
// In the future, this function could return a capability
390+
// indicating whether this function can format, select, or both.
391+
return false;
392+
}
389393
/**
390394
* Returns true if this value represents a null operand, that is,
391395
* the absence of an argument. This method should not be overridden.

0 commit comments

Comments
 (0)