Jacob S. Barrett created GEODE-5168:
---------------------------------------

             Summary: 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


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")}, 
...}
}}}



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

Reply via email to