Searched refs:vector_has_data_and_format (Results 1 - 1 of 1) sorted by relevance

/gem5/ext/pybind11/include/pybind11/
H A Dstl_bind.h367 struct vector_has_data_and_format : std::false_type {}; struct in inherits:std::false_type
369 struct vector_has_data_and_format<Vector, enable_if_t<std::is_same<decltype(format_descriptor<typename Vector::value_type>::format(), std::declval<Vector>().data()), typename Vector::value_type*>::value>> : std::true_type {}; struct in inherits:std::true_type
377 static_assert(vector_has_data_and_format<Vector>::value, "There is not an appropriate format descriptor for this vector");

Completed in 5 milliseconds