SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
propagate_const< T > Class Template Reference

Public Types

using element_type = typename std::remove_reference< decltype(*std::declval< T & >())>::type
 

Public Member Functions

 propagate_const (const propagate_const &p)=delete
 
template<typename U >
 propagate_const (U &&u)
 
 operator bool () const
 
const element_type * operator-> () const
 
 operator const element_type * () const
 
const element_type & operator* () const
 
const element_type * get () const
 
element_type *& get_ref ()
 
element_type * operator-> ()
 
 operator element_type * ()
 
element_type & operator* ()
 
element_type * get ()
 
template<typename U >
propagate_constoperator= (U &&u)