llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RefBase< T > Class Template Reference

#include <core/ref.h>

Inheritance diagram for RefBase< T >:
Inheritance graph
[legend]

Public Member Functions

T * Get () const
 
T * operator-> () const
 
T & operator* () const
 
unsigned Index () const
 
template<typename U = T>
std::enable_if< std::is_base_of< Inst, U >::value, Type >::type GetType () const
 
 operator bool () const
 
bool operator== (const RefBase< T > &that) const
 
bool operator!= (const RefBase< T > &that) const
 

Protected Member Functions

 RefBase (T *inst, unsigned index)
 

Protected Attributes

T * inst_
 Instruction pointed to.
 
unsigned index_
 Index of the return value in the instruction.
 

Detailed Description

template<typename T>
class RefBase< T >

Base class for all references.


The documentation for this class was generated from the following file: