[
https://issues.apache.org/jira/browse/IMPALA-13976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Smith resolved IMPALA-13976.
------------------------------------
Fix Version/s: Impala 5.0.0
Resolution: Fixed
> Replace boost::function/bind/mem_fn with the standard library
> -------------------------------------------------------------
>
> Key: IMPALA-13976
> URL: https://issues.apache.org/jira/browse/IMPALA-13976
> Project: IMPALA
> Issue Type: Task
> Components: Backend
> Affects Versions: Impala 5.0.0
> Reporter: Joe McDonnell
> Priority: Major
> Fix For: Impala 5.0.0
>
>
> The standard library now supports std::function/bind/mem_fn that is
> equivalent to boost's functionality. There are a few minor differences, but
> it is mostly a drop-in replacement.
> Some differences:
> # Placeholders _1 and _2 are in the std placeholders namespace
> # boost::function uses an empty() method to tell if it is unset. Instead,
> std::function can be compared to nullptr.
> One upside of switching is that std::function properly supports nullptr where
> boost requires NULL. It is one of the few locations where using nullptr
> instead of NULL matters.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)