OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ConstRef
(Results
1 - 3
of
3
) sorted by null
/external/chromium/base/
bind_helpers.h
9
// The public functions are base::Unretained() and base::
ConstRef
().
11
//
ConstRef
() allows binding a constant reference to an argument rather
32
// EXAMPLE OF
ConstRef
();
37
// Callback<void(void)> has_ref = Bind(&foo,
ConstRef
(n));
46
// Note that because
ConstRef
() takes a reference on |n|, |n| must outlive all
257
inline internal::ConstRefWrapper<T>
ConstRef
(const T& o) {
bind_unittest.cc
474
//
ConstRef
() wrapper support.
475
// - Binding w/o
ConstRef
takes a copy.
476
// - Binding a
ConstRef
takes a reference.
477
// - Binding
ConstRef
to a function
ConstRef
does not copy on invoke.
478
TEST_F(BindTest,
ConstRef
) {
482
Callback<int(void)> const_ref_cb = Bind(&Identity,
ConstRef
(n));
493
Bind(&GetCopies,
ConstRef
(counter));
/external/clang/lib/Sema/
SemaDeclCXX.cpp
[
all
...]
Completed in 193 milliseconds