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.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.