is_unpackable¶
Header¶
#include <boost/hof/is_unpackable.hpp>
This is a trait that can be used to detect whether the type can be called
with unpack
.
Synopsis¶
template<class T>
struct is_unpackable;
Example¶
#include <boost/hof.hpp>
#include <cassert>
int main() {
static_assert(boost::hof::is_unpackable<std::tuple<int>>::value, "Failed");
}