|
-
Nov 5th, 2001, 12:40 PM
#1
Thread Starter
transcendental analytic
Compiler Confused
F:\C++\t1_\t1.cpp(109) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1786)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Error executing cl.exe.
PHP Code:
class a{
public:
template <class b>
class c{};
};
template <class e, class f>
class h: public e{
public:
e::c<f> g;
};
MSVC doesn't compile this, even if no class is instantiated, if i rename c in class a, it will show a bunch of errors instead of the above. Anyone have any ideas why?
Anyone with any other compiler that can compile this, so that I can see if it is something impossible in C++ or if it's just the poor MSVC compiler that sucks.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|