Skip to content

Commit 7bc87ba

Browse files
committed
Add comment about isSelectable()
1 parent 3571c71 commit 7bc87ba

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
@@ -387,7 +387,11 @@ namespace message2 {
387387
* @internal ICU 77 technology preview
388388
* @deprecated This API is for technology preview only.
389389
*/
390-
virtual UBool isSelectable() const { return false; }
390+
virtual UBool isSelectable() const {
391+
// In the future, this function could return a capability
392+
// indicating whether this function can format, select, or both.
393+
return false;
394+
}
391395
/**
392396
* Returns true if this value represents a null operand, that is,
393397
* the absence of an argument. This method should not be overridden.

0 commit comments

Comments
 (0)