Changeset 180 for cpp/common/stl-util.h


Ignore:
Timestamp:
03/18/14 09:11:39 (10 years ago)
Author:
Maciej Komosinski
Message:

Remove fixed length buffers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/stl-util.h

    r140 r180  
    77
    88#include "nonstd_stl.h"
     9#include <stdarg.h>
    910
    1011template<typename T, std::size_t N> void push_back(vector<T>& v, T(&d)[N])
     
    3738
    3839string ssprintf(const char* format, ...);
     40string ssprintf_va(const char* format, va_list ap);
    3941
    4042string stripExt(const string& filename); // strip extension from filename
     43string getFileExt(const string& filename); // get extension (starting with ".") from filename
    4144
    4245bool readCompleteFile(const char* filename, vector<char>& data, bool warn_on_missing_file=true);
Note: See TracChangeset for help on using the changeset viewer.