libcsdbg  1.28
C++ exception (and generic) stack trace debug library
template<class T >
T * csdbg::stack< T >::peek ( u32  i) const
inlinevirtual

Get the node data pointer at a stack offset.

Parameters
[in]ithe offset
Returns
the i-th node data pointer
Exceptions
csdbg::exception

Definition at line 335 of file stack.hpp.

336 {
337  return node_at(i)->m_data;
338 }
virtual node< T > * node_at(u32 i) const
Get the node at a stack offset.
Definition: stack.hpp:94