[ 
https://issues.apache.org/jira/browse/GEODE-6004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16678804#comment-16678804
 ] 

Jacob S. Barrett commented on GEODE-6004:
-----------------------------------------

[~bbender] to be clean the method will take any type of `Cacheable`. Your 
particular server side function may expect the arg to be a `std::vector` (Java 
area). My function may expect a single value of type `MyCacheable`. 

 

What we should do is add all the overloads that `Region::Put` has to accept 
primitive values and upgrade them to `Cacheable` instances as needed.

> FunctionService::withArgs should accept vector of std::string
> -------------------------------------------------------------
>
>                 Key: GEODE-6004
>                 URL: https://issues.apache.org/jira/browse/GEODE-6004
>             Project: Geode
>          Issue Type: Improvement
>          Components: native client
>            Reporter: Blake Bender
>            Priority: Major
>
> This method expects a shared_ptr to CacheableVector, so shared_ptr to 
> std::vector<std::string> should be acceptable, or rather std::vector<T> where 
> T is the region value type.  Unfortunately the parameter is declared as 
> shared_ptr<Cacheable>, so passing std::vector doesn't compile.  It would be 
> awfully convenient to be able to pass standard types around here.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to