Ignore:
Timestamp:
07/29/11 15:49:47 (13 years ago)
Author:
tbretz
Message:
Added GetSize() memember function and return this value in case of errors.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Converter.h

    r11564 r11702  
    8585
    8686    const FormatList &GetList() const { return fList; }
     87    size_t GetSize() const { return fList.size()==0 ? 0 : fList.back().second.second; }
    8788
    8889    static FormatList Compile(std::ostream &out, const std::string &fmt, bool strict=false);
Note: See TracChangeset for help on using the changeset viewer.