|
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
21 inline Ref(T *_ptr): ptr(_ptr) { }
23 inline operator T& (
void)
const {
return *ptr; }
28 { ptr = _ptr;
return *
this; }
30 { ptr =
ref.ptr;
return *
this; }
32 { *ptr = val;
return *
this; }
44 #endif // ELM_UTIL_REF_H
sys::SystemOutStream & out
Definition: system_SystemIO.cpp:122
mut< T > ref(var< T > &x)
Definition: type_info.h:289
Ref(T *_ptr)
Definition: Ref.h:21
T * operator->(void) const
Definition: Ref.h:26
Output & operator<<(Output &out, const T &v)
Definition: Output.h:216
T * operator&(void) const
Definition: Ref.h:24
Ref< T > & operator=(const T &val)
Definition: Ref.h:31
Ref< T > & operator=(const Ref< T > &ref)
Definition: Ref.h:29
Ref(const Ref< T > &ref)
Definition: Ref.h:22
Ref< T > & operator=(T *_ptr)
Definition: Ref.h:27
T & operator*(void) const
Definition: Ref.h:25