Changes in libcfa/src/parseargs.hfa [fd54fef:d411769c]
- File:
-
- 1 edited
-
libcfa/src/parseargs.hfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseargs.hfa
rfd54fef rd411769c 2 2 3 3 struct cfa_option { 4 int val; // reserved5 4 char short_name; 6 5 const char * long_name; … … 14 13 static inline void ?{}( cfa_option & this ) {} 15 14 16 forall( T &| { bool parse(const char *, T & ); })15 forall(dtype T | { bool parse(const char *, T & ); }) 17 16 static inline void ?{}( cfa_option & this, char short_name, const char * long_name, const char * help, T & variable ) { 18 this.val = 0;19 17 this.short_name = short_name; 20 18 this.long_name = long_name; … … 24 22 } 25 23 26 forall( T &)24 forall(dtype T) 27 25 static 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;29 26 this.short_name = short_name; 30 27 this.long_name = long_name;
Note:
See TracChangeset
for help on using the changeset viewer.