why isn't template<class S> {typedef std::vector< S > VS; bool append(VS& vs,S
s);} supported?
It's too time consuming for some like the company I am going to declare another
class in template<>.
why doesn't new return failure info like malloc? on low-RAM systems like most
XP boxes in companies, it fails and leaves a surprise when program doesn't work
right. good folks check for failure and do the right thing. remember low-memory
boxes.
bool caseSensitiveOS=false;namespace str { bool a(int first, int second) {
if (caseInsensitiveOS) {
return 0==1;
} else {
return 0==0;
}
}
}
..\..\..\lib\strfuncs\strfuncs.cpp:165:45: error: request for member 'at' in
'second', which is of non-class type 'const char*'
..\..\..\lib\strfuncs\strfuncs.cpp:166:45: error: request for member 'at' in
'first', which is of non-class type 'const char*'
if (!iCase) if (first.at(middle)>second.at(middle)) return +1;
^
this error is confusing as all get out since there is no problem - compiler may
be borked because of 2000 errors.
might be a bad error message.
..\..\..\lib\strfuncs\strfuncs.cpp:166:45: error: request for member 'at' in
'second', which is of non-class type 'const char*'
..\..\..\lib\strfuncs\strfuncs.cpp: In function 'bool str::a(STRTYPE, STRTYPE)':
..\..\..\lib\strfuncs\strfuncs.cpp:1214:5: warning: control reaches end of
non-void function [-Wreturn-type]
}
^
warning is improperly applied.
-------------
Jim Michaels<[email protected]> http://www.JesusnJim.com (computer repair
info, programming)
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public