Click here to Skip to main content
15,885,366 members
Articles / Programming Languages / C++

__asm int 3 in template function ( in VC6 )

8 Apr 2009CPOL 18.2K   5   2
We usually use __asm int 3 in the code to hard code break points. But have you tried setting a __asm int 3 in a template function? Like...templateclass T> int Testfunc( T Obj ){__asm int 3;return Obj++;}void main(){Testfunc( 1 );};The above code will never get compiled in vc6.
We're sorry, but the article you are trying to view was deleted at 29 Sep 2017.

Please go to the C++ Table of Contents to view the list of available articles in this section.