Lines Matching defs:base
7 // that are bound by the Bind() function in base/bind.h.
9 // The public functions are base::Unretained() and base::ConstRef().
54 #include "base/basictypes.h"
55 #include "base/template_util.h"
57 namespace base {
91 // want to probe for. Then we create a class Base that inherits from both T
96 // Now, if TargetFunc exists somewhere in T, then &Base::TargetFunc has an
106 // static const bool value = sizeof(GoodCheck<Base>(0)) == sizeof(Yes);
110 // by specializing GoodCheck() on Base instead of T.
113 // GoodCheck(Helper<&C::TargetFunc>*), when C = Base, fails to be a valid
114 // substitution if T::TargetFunc exists. Thus GoodCheck<Base>(0) will resolve
136 // MSVC warns when you try to use Base if T has a private destructor, the
138 // instantiate Base is made. We disable the warning for this definition.
142 struct Base : public T, public BaseMixin {
157 static const bool value = sizeof(Check<Base>(0,0)) == sizeof(Yes);
220 struct MaybeRefcount<base::false_type, T> {
226 struct MaybeRefcount<base::false_type, T[n]> {
232 struct MaybeRefcount<base::true_type, UnretainedWrapper<T> > {
238 struct MaybeRefcount<base::true_type, T*> {
244 struct MaybeRefcount<base::true_type, const T*> {
261 } // namespace base