I have a template defined thus...
I have a rule in the autoexp.dat file at the start of the [Visualizer] section.Code:namespace stdi3 { template <typename T, const size_t MAX_SIZE> class fixed_vector { private: size_t current_size; T buffer[MAX_SIZE]; }; }
When I debug and watch a stdi3::fixed_vector object my visualizer rule seems to be ignored.Code:;------------------------------------------------------------------------------ ; stdi3::fixed_vector ;------------------------------------------------------------------------------ stdi3::fixed_vector<*,*>{ preview( #( "current_size = ", $e.current_size ) ) }
Any ideas where I may be going wrong?
I'm using VS2008.
I've also tried this, but no luck either.
Code:;------------------------------------------------------------------------------ ; stdi3::fixed_vector ;------------------------------------------------------------------------------ stdi3::fixed_vector<*>{ preview( #( "current_size = ", $e.current_size ) ) }


Reply With Quote
Bookmarks