diff options
author | Adrian Kummerlaender | 2014-08-17 13:32:22 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2014-08-17 13:32:22 +0200 |
commit | 8ed33c3e9e2648a5a0150c05e06c228336e9e9d6 (patch) | |
tree | e6be3688300dfe4d046b8f84c5907d82b282b942 /src/support/type | |
parent | f6ff54c492df81018cf48da039ee681508f88e46 (diff) | |
download | InputXSLT-8ed33c3e9e2648a5a0150c05e06c228336e9e9d6.tar InputXSLT-8ed33c3e9e2648a5a0150c05e06c228336e9e9d6.tar.gz InputXSLT-8ed33c3e9e2648a5a0150c05e06c228336e9e9d6.tar.bz2 InputXSLT-8ed33c3e9e2648a5a0150c05e06c228336e9e9d6.tar.lz InputXSLT-8ed33c3e9e2648a5a0150c05e06c228336e9e9d6.tar.xz InputXSLT-8ed33c3e9e2648a5a0150c05e06c228336e9e9d6.tar.zst InputXSLT-8ed33c3e9e2648a5a0150c05e06c228336e9e9d6.zip |
Fixed minimum parameter count calculation
* the minimum count of parameters to a external function is the maximum parameter count minus all optional parameters
* updated error message of "FunctionBase" member method "getError" to reflect the newly implemented possibility of optional parameters
Diffstat (limited to 'src/support/type')
-rw-r--r-- | src/support/type/filter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/support/type/filter.h b/src/support/type/filter.h index 4a0e19f..1433b30 100644 --- a/src/support/type/filter.h +++ b/src/support/type/filter.h @@ -7,13 +7,13 @@ namespace InputXSLT { template < - typename BaseReference, + typename Base, typename Head, typename... Tail > struct filter_derived { typedef typename std::conditional< - std::is_base_of<BaseReference, Head>::value, + std::is_base_of<Base, Head>::value, std::tuple<Head, Tail...>, std::tuple<Tail...> >::type type; |