# include
#include
#include
#include
There is such a mistake:
1 & gt; -- -- -- -- -- - has started to generate: project: ranking, configuration: Debug Win32 -- -- -- -- -- --
1 & gt; Generate the start time for 2013/5/14 15:33:37,
1 & gt; InitializeBuildStatus:
1 & gt; Is the Debug \ "rankings. Unsuccessfulbuild" Touch mission,
1 & gt; ClCompile:
1 & gt; The main. CPP
1 & gt; E: \ \ Microsoft visual studio 10.0 vc \ include \ algorithm (3806) : error C2784: "_RanIt1: : difference_type STD: : operator - (STD: : move_iterator & lt; _RanIt & gt; & , const STD: : move_iterator & lt; _RanIt2 & gt; & amp;) ": from" failed to STD: : _Tree_iterator & lt; _Mytree & gt;" As "STD: : move_iterator & lt; _RanIt & gt; & amp;" Template parameter is derived
1 & gt; With
1 & gt;
1 & gt; _Mytree=STD: : _Tree_val & lt; STD: : _Tmap_traits & lt; STD: : string, int, STD: : less
1 & gt; ]
1 & gt; E: \ \ Microsoft visual studio 10.0 vc \ include \ iterator (344) : see "STD: : operator -" statement
1 & gt; E: \ visual studio 2010 in the seniority of the acm \ \ projects \ \, \ main CPP (63) : see a function template instantiation of are compiling "void STD: : sort
1 & gt; With
1 & gt;
1 & gt; _Mytree=STD: : _Tree_val & lt; STD: : _Tmap_traits & lt; STD: : string, int, STD: : less
1 & gt; _Ty1=STD: : string,
1 & gt; _Ty2=int,
1 & gt; _RanIt=STD: : _Tree_iterator & lt; STD: : _Tree_val & lt; STD: : _Tmap_traits & lt; STD: : string, int, STD: : less
1 & gt; _Pr=bool (__cdecl *) (STD: : pair
1 & gt; ]
1 & gt; E: \ \ Microsoft visual studio 10.0 vc \ include \ algorithm (3806) : error C2784: "_RanIt1: : difference_type STD: : operator - (STD: : move_iterator & lt; _RanIt & gt; & , const STD: : move_iterator & lt; _RanIt2 & gt; & amp;) ": from" failed to STD: : _Tree_iterator & lt; _Mytree & gt;" As "STD: : move_iterator & lt; _RanIt & gt; & amp;" Template parameter is derived
1 & gt; With
1 & gt;
1 & gt; _Mytree=STD: : _Tree_val & lt; STD: : _Tmap_traits & lt; STD: : string, int, STD: : less
1 & gt; ]
1 & gt; E: \ \ Microsoft visual studio 10.0 vc \ include \ iterator (344) : see "STD: : operator -" statement
1 & gt; E: \ \ Microsoft visual studio 10.0 vc \ include \ algorithm (3806) : error C2784: "_RanIt1: : difference_type STD: : operator - (STD: : move_iterator & lt; _RanIt & gt; & , const STD: : move_iterator & lt; _RanIt2 & gt; & amp;) ": from" failed to STD: : _Tree_iterator & lt; _Mytree & gt;" As "STD: : move_iterator & lt; _RanIt & gt; & amp;" Template parameter is derived
1 & gt; With
1 & gt;
1 & gt; _Mytree=STD: : _Tree_val & lt; STD: : _Tmap_traits & lt; STD: : string, int, STD: : less
1 & gt; ]
1 & gt; E: \ \ Microsoft visual studio 10.0 vc \ include \ iterator (344) : see "STD: : operator -" statement
1 & gt; E: \ \ Microsoft visual studio 10.0 vc \ include \ algorithm (3806) : error C2784: "_RanIt1: : difference_type STD: : operator - (STD: : move_iterator & lt; _RanIt & gt; & , const STD: : move_iterator & lt; _RanIt2 & gt; & amp;) ": from" failed to STD: : _Tree_iterator & lt; _Mytree & gt;" As "STD: : move_iterator & lt; _RanIt & gt; & amp;" Template parameter is derived
1 & gt; With
1 & gt;
1 & gt; nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull