9 #ifndef CPROVER_UTIL_AS_CONST_H
10 #define CPROVER_UTIL_AS_CONST_H
16 return static_cast<const T &
>(value);
const T & as_const(T &value)
Return a reference to the same object but ensures the type is const.
const T * as_const_ptr(T *t)
Return a pointer to the same object but ensures the type is pointer to const.