Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/parseargs.hfa

    rfd54fef rd411769c  
    22
    33struct cfa_option {
    4       int val; // reserved
    54      char short_name;
    65      const char * long_name;
     
    1413static inline void ?{}( cfa_option & this ) {}
    1514
    16 forall(T & | { bool parse(const char *, T & ); })
     15forall(dtype T | { bool parse(const char *, T & ); })
    1716static inline void ?{}( cfa_option & this, char short_name, const char * long_name, const char * help, T & variable ) {
    18       this.val        = 0;
    1917      this.short_name = short_name;
    2018      this.long_name  = long_name;
     
    2422}
    2523
    26 forall(T &)
     24forall(dtype T)
    2725static inline void ?{}( cfa_option & this, char short_name, const char * long_name, const char * help, T & variable, bool (*parse)(const char *, T & )) {
    28       this.val        = 0;
    2926      this.short_name = short_name;
    3027      this.long_name  = long_name;
Note: See TracChangeset for help on using the changeset viewer.