mirror of
https://github.com/boostorg/hof.git
synced 2026-02-01 08:32:12 +00:00
Merge branch 'is_unpackable'
This commit is contained in:
@@ -40,6 +40,23 @@ Example
|
||||
assert(r == 5);
|
||||
|
||||
|
||||
is_unpackable
|
||||
=============
|
||||
|
||||
This is a trait that can be used to detect whethet the type can be called
|
||||
with `unpack`.
|
||||
|
||||
Synopsis
|
||||
--------
|
||||
|
||||
template<class T>
|
||||
struct is_unpackable;
|
||||
|
||||
Example
|
||||
-------
|
||||
|
||||
static_assert(fit::is_unpackable<std::tuple<int>>::value, "Failed");
|
||||
|
||||
unpack_sequence
|
||||
===============
|
||||
|
||||
|
||||
Reference in New Issue
Block a user