• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/arm-linux/include/c++/4.5.3/ext/

Lines Matching defs:pointer

1 // Custom pointer adapter and sample storage policies
26 * @file ext/pointer.h
30 * custom pointer types that can be used with the standard containers via
31 * the allocator::pointer and allocator::const_pointer typedefs.
48 * standard pointer.
51 * 1) A get() API for returning the stored pointer value.
52 * 2) An set() API for storing a pointer value.
54 * 4) An operator<() to support pointer comparison.
55 * 5) An operator==() to support pointer comparison.
61 // the type this pointer points to.
64 // A method to fetch the pointer value as a standard T* value;
69 // A method to set the pointer value, from a standard T* value;
89 * the pointer's address as an offset value which is relative to
97 * there is no reason why any normal pointer would point 1 byte into
98 * its own pointer address.
150 * the casting done during pointer arithmetic.
249 * The following provides an 'alternative pointer' that works with
250 * the containers when specified as the pointer typedef of the
253 * The pointer type used with the containers doesn't have to be this
254 * class, but it must support the implicit conversions, pointer
257 * creating a working pointer can be challenging, this pointer
259 * so that it becomes reusable for creating other pointer types.
262 * writers to 'assume' Alocator::pointer is a typedef for a normal
263 * pointer. This class supports most of the conventions of a true
264 * pointer, and can, for instance handle implicit conversion to
265 * const and base class pointer types. The only impositions on
267 * Allocator::pointer typedef appropriately for pointer types. 2)
268 * if you need pointer casting, use the __pointer_cast<> functions
269 * from ext/cast.h. This allows pointer cast operations to be
272 * Note: The const qualifier works with this pointer adapter as
290 typedef _Pointer_adapter pointer;
294 // pointer is immutable, and has nothing to do with whether the
433 // Expand into the various pointer arithmatic operators needed.