Jim Michaels
2016-04-23 13:01:08 UTC
{ edited by mod to shorten lines to ~70 characters. -mod }
C doesn't support any default arguments, and that's unlikely to change.
if it did, people would be very very happy - I wonder what its effect
on DLLs would be
std::string needs:
* the complete string.h library included
* std::string::operator==(), std::string::operator!=,
std::string::operator-() (diff)
* optimized-for-speed compare() that includes arg for ignore case.
I have such a function and it's for sale by God.
* std::string::toLower(), std::string::toUpper()
* std::string::trim(), std::string::trimLeft(), std::string::trimRight()
* std::string::removeWhitespace()
* std::vector<std::string> std::string::split(std::string s)
* std::string std::string::join(std::vector<std::string> vs,
std::string sJoinWith)
* rename std::utf8string to std::u8string.
* support for easy conversions between std::string types (u32, u16,
u8, w, char)
* change base for std::string to use unsigned char rather than signed.
otherwise you get negative numbers for chars outside the ASCII range.
cstring needs:
the complete string.h library included (why wasn't it? people expect
that)
c++ needs:
* ||=, &&= to C++ and C
* all of math.h in cmath
* BigInt, BigNum, BigFloat math and data types.
* support for 128-bit integer such as uint128_t, int128_t for example.
I currently have a need for this for time calculations. uint256_t,
int256_t would be even nicer.
please. thanks in advance.
C doesn't support any default arguments, and that's unlikely to change.
if it did, people would be very very happy - I wonder what its effect
on DLLs would be
std::string needs:
* the complete string.h library included
* std::string::operator==(), std::string::operator!=,
std::string::operator-() (diff)
* optimized-for-speed compare() that includes arg for ignore case.
I have such a function and it's for sale by God.
* std::string::toLower(), std::string::toUpper()
* std::string::trim(), std::string::trimLeft(), std::string::trimRight()
* std::string::removeWhitespace()
* std::vector<std::string> std::string::split(std::string s)
* std::string std::string::join(std::vector<std::string> vs,
std::string sJoinWith)
* rename std::utf8string to std::u8string.
* support for easy conversions between std::string types (u32, u16,
u8, w, char)
* change base for std::string to use unsigned char rather than signed.
otherwise you get negative numbers for chars outside the ASCII range.
cstring needs:
the complete string.h library included (why wasn't it? people expect
that)
c++ needs:
* ||=, &&= to C++ and C
* all of math.h in cmath
* BigInt, BigNum, BigFloat math and data types.
* support for 128-bit integer such as uint128_t, int128_t for example.
I currently have a need for this for time calculations. uint256_t,
int256_t would be even nicer.
please. thanks in advance.
--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]