5 Commits

Author SHA1 Message Date
Daniel Aarno
3ccab57178 Fixed typo 2017-09-02 17:16:53 +01:00
Daniel Aarno
5d4ffbf2db Make all types have ValueLike traits by default.
This allows new types to be added without any fuzz (no need to specify
the traits) if it has operator>>. It also removes the need to manually
specify the ArgTrait for all built in types (such as long, bool, char,
float etc).

ArgTraits now works in the following way:

1) If there exists a specialization of ArgTraits for type X, use it.

2) If no specialization exists but X has the typename
X::ValueCategory, use the specialization for X::ValueCategory.

3) If neither (1) nor (2) defines the trait, use the default which is
ValueLike.
2013-05-18 15:02:30 +02:00
mes5k
09c1d2a113 applied Tom Fogal's win64 patch for size_t 2011-01-02 19:52:54 +00:00
mes5k
ab82cc7f87 added a check for wchar_t to deal with a potential problem with MS compilers 2009-10-23 21:42:43 +00:00
macbishop
e021e21520 Refactoring of the arg-traits functionality. The purpose is to make it
easier to make you own classes, and types defined in the standard
library work well with tclap. I'll try to write up some documenation
of how to achieve this as-well.
2007-10-09 18:18:51 +00:00