]> cygwin.com Git - cygwin-apps/setup.git/commit - String++.h
2005-05-05 Max Bowsher <maxb@ukf.net>
authorMax Bowsher <maxb1@ukf.net>
Thu, 5 May 2005 22:35:38 +0000 (22:35 +0000)
committerMax Bowsher <maxb1@ukf.net>
Thu, 5 May 2005 22:35:38 +0000 (22:35 +0000)
commit3a8630fdb8795326df0919220a4376a00db012e2
tree95508604e9dc8150c66a1e7cfac1be2f77160f68
parentdaab12c7abcd6755e42b2f5b4c1c9073030d5e9a
2005-05-05  Max Bowsher  <maxb@ukf.net>

Some String++ refactoring, setting out in the general direction of
eventually just using the STL std::string, not our own class.

* String++.cc (String::cstr, String::cstr () const): Remove.
(new_cstr_char_array): New function.
* String++.h: Sync with above.
Remove irrelevant "class io_stream;" declaration.

* cygpackage.h: Add "class io_stream;" declaration, now no longer
being supplied by side-effect.

* filemanip.cc: Remove unneeded includes, add "using namespace std;".
(parse_filename): Exchange some awkward pointer manipulation for
std::string usage. Use new_cstr_char_array ().
* filemanip.h: Sync with above.
(fileparse): Improve style of declaration.

* io_stream_cygfile.cc (io_stream_cygfile::normalise):
Use new_cstr_char_array ().
* site.cc (site_list_type::init, get_site_list): Ditto.
ChangeLog
String++.cc
String++.h
cygpackage.h
filemanip.cc
filemanip.h
io_stream_cygfile.cc
site.cc
This page took 0.034591 seconds and 5 git commands to generate.