mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Include examples in CI tests
Also fix and update examples and documentation where required This allows to make sure examples are actually runnable avoiding them to become outdated
This commit is contained in:
parent
a6aa140148
commit
5ef17d0e33
42 changed files with 400 additions and 285 deletions
|
|
@ -59,7 +59,11 @@ namespace detail
|
|||
};
|
||||
|
||||
template< typename Signature, int n >
|
||||
using parameter = tuple_element< n, typename parameter_types<Signature>::type >;
|
||||
struct parameter
|
||||
{
|
||||
static_assert(n < function_arity<Signature>::value, "Function signature has not that many parameters");
|
||||
using type = typename tuple_element< n, typename parameter_types<Signature>::type >::type;
|
||||
};
|
||||
|
||||
template<typename T>
|
||||
struct parameter_type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue