[Webkit-unassigned] [Bug 34705] [BREWMP] Add a function to create a BREW instance without local variable declarations.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 8 19:46:51 PST 2010


--- Comment #5 from Kwang Yul Seo <kwangyul.seo at gmail.com>  2010-02-08 19:46:50 PST ---
(In reply to comment #4)
> Should this return a PassOwnPtrBrew?

These is no PassOwnPtrBrew class. I just wanted to simplify the creation of a
BREW instance. As OwnPtrBrew takes a raw pointer in the constructor, we can use
an idiom like the following:

OwnPtrBrew<IFileMgr> fileMgr(createInstanceBrew<IFileMgr>(AEECLSID_FILEMGR));

Do you suggest that this should return a PassOwnPtrBrew?

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