2
0
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:
Paul
2015-05-09 22:54:06 -05:00
5 changed files with 170 additions and 9 deletions

View File

@@ -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
===============