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

Marton Szasz updated MINIFICPP-2159:
------------------------------------
    Description: 
After MINIFICPP-1825 it would be nice to able to call getAttribute without 
unneccesary copies. FlatMap should be able to do lookups by anything equality 
comparable, instead of just T (const std::string&).

 

We should also change SpecialFlowAttribute static const std::string-s to 
constexpr std::string_view-s.

  was:
After MINIFICPP-1825 it would be nice to able to call getAttribute without 
unneccesary copies.

 

We should also change SpecialFlowAttribute static const std::string-s to 
constexpr std::string_view-s.


> Add heterogeneous lookup to AttributeMap (FlatMap)
> --------------------------------------------------
>
>                 Key: MINIFICPP-2159
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2159
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: New Feature
>            Reporter: Martin Zink
>            Assignee: Martin Zink
>            Priority: Minor
>
> After MINIFICPP-1825 it would be nice to able to call getAttribute without 
> unneccesary copies. FlatMap should be able to do lookups by anything equality 
> comparable, instead of just T (const std::string&).
>  
> We should also change SpecialFlowAttribute static const std::string-s to 
> constexpr std::string_view-s.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to