[Webkit-unassigned] [Bug 125247] Headers that use std::unique_ptr should #include <memory>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 4 18:08:55 PST 2013


--- Comment #1 from Darin Adler <darin at apple.com>  2013-12-04 18:07:14 PST ---
I don’t agree that this belongs in the style guide.

This follows the general rule that headers that use something need to include the file that something is defined in. I wouldn’t make a style rule for each thing.

Why is it OK to use std::unique_ptr without including <memory>? Because <memory> is included in "config.h" perhaps?

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list