summaryrefslogtreecommitdiffstats
path: root/base/bind.h.pump
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-12 20:06:40 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-12 20:06:40 +0000
commit2429264f12ce3146e21c0e4dda91f778d2a6b1b4 (patch)
tree1cab7ac92075c2ae7c2e751c197cbe041dfa4454 /base/bind.h.pump
parent8355f4e5d91f9d554a8e95b8e659a2e360bf8349 (diff)
downloadchromium_src-2429264f12ce3146e21c0e4dda91f778d2a6b1b4.zip
chromium_src-2429264f12ce3146e21c0e4dda91f778d2a6b1b4.tar.gz
chromium_src-2429264f12ce3146e21c0e4dda91f778d2a6b1b4.tar.bz2
Add quick reference for bind/callback usage.
Review URL: https://chromiumcodereview.appspot.com/10692147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146425 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/bind.h.pump')
-rw-r--r--base/bind.h.pump21
1 files changed, 16 insertions, 5 deletions
diff --git a/base/bind.h.pump b/base/bind.h.pump
index aba9b02..b321649 100644
--- a/base/bind.h.pump
+++ b/base/bind.h.pump
@@ -35,12 +35,23 @@ $var MAX_ARITY = 7
#include "base/bind_internal.h"
#include "base/callback_internal.h"
-// See base/callback.h for how to use these functions. If reading the
-// implementation, before proceeding further, you should read the top
-// comment of base/bind_internal.h for a definition of common terms and
-// concepts.
+// -----------------------------------------------------------------------------
+// Usage documentation
+// -----------------------------------------------------------------------------
+//
+// See base/callback.h for documentation.
+//
+//
+// -----------------------------------------------------------------------------
+// Implementation notes
+// -----------------------------------------------------------------------------
+//
+// If you're reading the implementation, before proceeding further, you should
+// read the top comment of base/bind_internal.h for a definition of common
+// terms and concepts.
+//
+// RETURN TYPES
//
-// IMPLEMENTATION NOTE
// Though Bind()'s result is meant to be stored in a Callback<> type, it
// cannot actually return the exact type without requiring a large amount
// of extra template specializations. The problem is that in order to