Changeset 180 for cpp/common/stl-util.h
- Timestamp:
- 03/18/14 09:11:39 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified cpp/common/stl-util.h ¶
r140 r180 7 7 8 8 #include "nonstd_stl.h" 9 #include <stdarg.h> 9 10 10 11 template<typename T, std::size_t N> void push_back(vector<T>& v, T(&d)[N]) … … 37 38 38 39 string ssprintf(const char* format, ...); 40 string ssprintf_va(const char* format, va_list ap); 39 41 40 42 string stripExt(const string& filename); // strip extension from filename 43 string getFileExt(const string& filename); // get extension (starting with ".") from filename 41 44 42 45 bool readCompleteFile(const char* filename, vector<char>& data, bool warn_on_missing_file=true);
Note: See TracChangeset
for help on using the changeset viewer.