bad bad microsoft compiler
Hehehe, what's the matter MSVC6 Compiler? Can't handle some templates huh :D:D
-------------------Configuration: Appbar - Win32 Release--------------------
Compiling...
main.cpp
D:\@F\C++\Appbar\main.cpp(50) : warning C4786: '?$Command@U?$Command@UEndPivot@Console@@U?$Pivot@$1??ps_Close@Console@@0Upivotstring@1@B@@3Upivotst ring@Console@@B@2@U?$Pivot@$1??ps_Config@Console@@0Upivotstring@1@B@@3Upivotstring@Console@@B@2@@Con so
le@@U?$Pivot@$1??ps_Open@Console@@0Upivotstring@1@B@@3Upivotstring@Console@@B@2@UEndPivot@2@' : identifier was truncated to '255' characters in the browser information
D:\@F\C++\Appbar\main.cpp(622) : warning C4355: 'this' : used in base member initializer list
D:\@F\C++\Appbar\main.cpp(26) : warning C4786: '?$Command@U?$Command@UEndPivot@Console@@U?$Pivot@$1??ps_Close@Console@@0Upivotstring@1@B@@3Upivotst ring@Console@@B@2@U?$Pivot@$1??ps_Config@Console@@0Upivotstring@1@B@@3Upivotstring@Console@@B@2@@Con so
le@@U?$Pivot@$1??ps_Open@Console@@0Upivotstring@1@B@@3Upivotstring@Console@@B@2@UEndPivot@2@' : identifier was truncated to '255' characters in the browser information
D:\@F\C++\Appbar\main.cpp(53) : see reference to class template instantiation 'Console::?$Command@U?$Command@UEndPivot@Console@@U?$Pivot@$1??ps_Close@Console@@0Upivotstring@1@B@@ 3Upivotstring@Console@@B@2@U?$Pivot@$1??ps_Config@Console@@0Upi
votstring@1@B@@3Upivotstring@Console@@B@2@@Console@@U?$Pivot@$1??ps_Open@Console@@0Upivotstring@1@B@ @3Upivotstring@Console@@B@2@UEndPivot@2@' being compiled
D:\@F\C++\Appbar\main.cpp(988) : see reference to function template instantiation 'void __cdecl Console::Process(char *)' being compiled
D:\@F\C++\Appbar\main.cpp(31) : warning C4786: '?Process@?$Command@U?$Command@UEndPivot@Console@@U?$Pivot@$1??ps_Close@Console@@0Upivotstring@1@B@@ 3Upivotstring@Console@@B@2@U?$Pivot@$1??ps_Config@Console@@0Upivotstring@1@B@@3Upivotstring@Console@ @B
@2@@Console@@U?$Pivot@$1??ps_Open@Console@@0Upivotstring@1@B@@3Upivotstring@Console@@B@2@UEndPivot@2 @@Console@@SAXVtemplate-parameter-CAB@@Z' : identifier was truncated to '255' characters in the browser information
D:\@F\C++\Appbar\main.cpp(53) : see reference to class template instantiation 'Console::?$Command@U?$Command@UEndPivot@Console@@U?$Pivot@$1??ps_Close@Console@@0Upivotstring@1@B@@ 3Upivotstring@Console@@B@2@U?$Pivot@$1??ps_Config@Console@@0Upi
votstring@1@B@@3Upivotstring@Console@@B@2@@Console@@U?$Pivot@$1??ps_Open@Console@@0Upivotstring@1@B@ @3Upivotstring@Console@@B@2@UEndPivot@2@' being compiled
D:\@F\C++\Appbar\main.cpp(988) : see reference to function template instantiation 'void __cdecl Console::Process(char *)' being compiled
D:\@F\C++\Appbar\main.cpp(31) : warning C4786: '?Operate@?$Command@U?$Command@UEndPivot@Console@@U?$Pivot@$1??ps_Close@Console@@0Upivotstring@1@B@@ 3Upivotstring@Console@@B@2@U?$Pivot@$1??ps_Config@Console@@0Upivotstring@1@B@@3Upivotstring@Console@ @B
@2@@Console@@U?$Pivot@$1??ps_Open@Console@@0Upivotstring@1@B@@3Upivotstring@Console@@B@2@UEndPivot@2 @@Console@@SAXXZ' : identifier was truncated to '255' characters in the browser information
D:\@F\C++\Appbar\main.cpp(53) : see reference to class template instantiation 'Console::?$Command@U?$Command@UEndPivot@Console@@U?$Pivot@$1??ps_Close@Console@@0Upivotstring@1@B@@ 3Upivotstring@Console@@B@2@U?$Pivot@$1??ps_Config@Console@@0Upi
votstring@1@B@@3Upivotstring@Console@@B@2@@Console@@U?$Pivot@$1??ps_Open@Console@@0Upivotstring@1@B@ @3Upivotstring@Console@@B@2@UEndPivot@2@' being compiled
D:\@F\C++\Appbar\main.cpp(988) : see reference to function template instantiation 'void __cdecl Console::Process(char *)' being compiled
D:\@F\C++\Appbar\main.cpp(53) : warning C4786: '?Process@?$Command@U?$Command@UEndPivot@Console@@U?$Pivot@$1??ps_Close@Console@@0Upivotstring@1@B@@ 3Upivotstring@Console@@B@2@U?$Pivot@$1??ps_Config@Console@@0Upivotstring@1@B@@3Upivotstring@Console@ @B
@2@@Console@@U?$Pivot@$1??ps_Open@Console@@0Upivotstring@1@B@@3Upivotstring@Console@@B@2@UEndPivot@2 @@Console@@SAXPAD@Z' : identifier was truncated to '255' characters in the browser information
D:\@F\C++\Appbar\main.cpp(988) : see reference to function template instantiation 'void __cdecl Console::Process(char *)' being compiled
D:\@F\C++\Appbar\main.cpp(28) : 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
Woooohooooooooooooo! TEMPLATES AS TEMPLATE PARAMETERS!!!!
PHP Code:
#include <vector>
template <template <class T1,class T2> class CONTAINER,class X,class Y=allocator<X> >class V:CONTAINER<X,Y>{};
int main(){
V<vector,int> a;
}