You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jacob S. Barrett (JIRA)" <ji...@apache.org> on 2018/05/02 14:54:00 UTC

[jira] [Updated] (GEODE-5168) Allow initializer-list as input on region::putAll

     [ https://issues.apache.org/jira/browse/GEODE-5168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob S. Barrett updated GEODE-5168:
------------------------------------
    Description: 
Support {{region::putAll}} using [initializer list|http://en.cppreference.com/w/cpp/utility/initializer_list].
{code:c++}
region->putAll({{1, "one"}, {2, "two"}, {3, "three"}});
{code}
This should convert to:
{code:c++}
region->putAll(std::unordered_map({{CacheableInt32(1), CacheableString("one")}, ...}
{code}



  was:
Support {region::putAll} using [initializer list|http://en.cppreference.com/w/cpp/utility/initializer_list].
{{{c++
region->putAll({{1, "one"}, {2, "two"}, {3, "three"}});
}}}
This should convert to:
{{{
region->putAll(std::unordered_map({{CacheableInt32(1), CacheableString("one")}, ...}
}}}


> Allow initializer-list as input on region::putAll
> -------------------------------------------------
>
>                 Key: GEODE-5168
>                 URL: https://issues.apache.org/jira/browse/GEODE-5168
>             Project: Geode
>          Issue Type: Improvement
>          Components: native client
>            Reporter: Jacob S. Barrett
>            Priority: Major
>
> Support {{region::putAll}} using [initializer list|http://en.cppreference.com/w/cpp/utility/initializer_list].
> {code:c++}
> region->putAll({{1, "one"}, {2, "two"}, {3, "three"}});
> {code}
> This should convert to:
> {code:c++}
> region->putAll(std::unordered_map({{CacheableInt32(1), CacheableString("one")}, ...}
> {code}



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