The whole problem here is that you can't do something like this:
The compiler will simply throw the 'const' out and simply use T. That's why I was having these problems in the first placeCode:typedef T MyType; const MyType foo;
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 9 of 9
Threaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |