Bug #83040 Remove I_callable
Submitted: 19 Sep 2016 11:11 Modified: 22 Sep 2016 14:01
Reporter: Steinar Gunderson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.1 OS:Any
Assigned to: CPU Architecture:Any

[19 Sep 2016 11:11] Steinar Gunderson
Description:
We have a class called I_callable that's essentially a home-grown specialization of std::function<T1(T2)>. The header file says:

-  I_callable and all implementations should be removed once we have boost::function<> or std::function<>

Now that we have std::function, we should do this. Same with Instance_callback.

How to repeat:
N/A

Suggested fix:
Replace with std::function and std::bind.
[22 Sep 2016 14:01] Paul DuBois
Posted by developer:
 
Fixed in 8.0.1.

Code cleanup. No changelog entry needed.