You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2022/01/11 00:26:00 UTC

[jira] [Updated] (MINIFICPP-1717) *StreamCallback should be function objects, not base classes

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

Marton Szasz updated MINIFICPP-1717:
------------------------------------
    Status: Patch Available  (was: In Progress)

https://github.com/apache/nifi-minifi-cpp/pull/1236

> *StreamCallback should be function objects, not base classes
> ------------------------------------------------------------
>
>                 Key: MINIFICPP-1717
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1717
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Improvement
>            Reporter: Marton Szasz
>            Assignee: Marton Szasz
>            Priority: Major
>             Fix For: 0.12.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Because in C++ it's much more natural to work with function objects using value semantics than it is with arbitrary base classes with one abstract public virtual member function. This allows lambdas to be used and greatly simplifies many usage sites.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)