Author |
Topic |
|
tailsu
Senior Member
37 Posts |
Posted - Aug 30 2007 : 07:12:12 AM
|
When writing something in the lines of
template <class Socket> class Sink { // here, when trying to type 'Socket', // VAX suggests anything but 'Socket', // usually even replacing anything you type. };
This would be a very welcome bugfix for library writers, methinks. |
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Aug 30 2007 : 08:49:11 AM
|
Interesting, and a little unexpected. I normally just use T for my parameter when writing a template class, so never noticed:
case=8462
Using your example code VA shows "Socket" in italics for me, so this is a known symbol from elsewhere, which might explain the odd results you are seeing. If you go with a more unusual parameter name then the problem of the text being replaced should go away. |
zen is the art of being at one with the two'ness |
|
|
tailsu
Senior Member
37 Posts |
Posted - Aug 31 2007 : 03:35:26 AM
|
yeah, or just press Esc before going onward. :)
However, I still press on that it would be nice for VA to be able to complete template parameters..
template <class SomethingNotExistingAnywhere> class Tester { public: Tester(); ~Tester(); protected: typedef SomethingNotExi doesn't want to auto-complete here ;_; private: };
|
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Aug 31 2007 : 08:46:00 AM
|
Agreed. I have put in a bug report for this, which is case=8462
http://docs.wholetomato.com?W318 |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|