summaryrefslogtreecommitdiff
path: root/include/com
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-27 13:48:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-27 13:48:07 +0200
commite02a29c0a733e4c2a98ed9c7c290928314bb307d (patch)
tree63e8df3ec61feb6ed139909345b34f1f4801a32c /include/com
parent81105d9534979b6d14a5ceb58e70845892d550fa (diff)
Improve documentation
Change-Id: I13683f971bf56f6c5e226d749e60ccb25af559a5
Diffstat (limited to 'include/com')
-rw-r--r--include/com/sun/star/uno/Any.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/com/sun/star/uno/Any.h b/include/com/sun/star/uno/Any.h
index 3122af3e80bb..ad26da1cbf64 100644
--- a/include/com/sun/star/uno/Any.h
+++ b/include/com/sun/star/uno/Any.h
@@ -249,6 +249,11 @@ template<> bool Any::has<sal_uInt16>() const SAL_DELETED_FUNCTION;
/** Template function to generically construct an any from a C++ value.
+ This can be useful with an explicitly specified template parameter, when the
+ (UNO) type recorded in the Any instance shall be different from what would
+ be deduced from the (C++) type of the argument if no template parameter were
+ specified explicitly.
+
@tparam C value type
@param value a value
@return an any