[gtkmm] Glib::build_filename() convenience function
- From: Andreas Holzmann <Andreas Holzmann epost de>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: [gtkmm] Glib::build_filename() convenience function
- Date: 12 Jul 2002 00:36:17 +0200
Hi,
in glib (c) you can write something like
g_build_filename(dir, file, NULL)
to append a file to a directory path.
In glibmm (c++) you have to write
std::vector<std::string> path;
path.push_back(dir);
path.push_back(file);
Glib::build_filename(path)
So, how about adding the following convenience function:
Glib::build_filename(const std::string& elem1, const std::string& elem2)
Comments?
If it's OK I'll commit this change.
Andreas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]