29 #ifndef __BASE_STL_HELPERS_HH__
30 #define __BASE_STL_HELPERS_HH__
34 #include <type_traits>
46 template <
typename T,
typename Enabled=
void>
49 template <
typename ...Types>
52 template <
typename ...Types>
63 std::enable_if_t<IsHelpedContainerV<T>, std::ostream &>
68 auto printer = [&first, &out](
const auto &elem) {
74 std::for_each(
t.begin(),
t.end(), printer);
std::enable_if_t< IsHelpedContainerV< T >, std::ostream & > operator<<(std::ostream &out, const T &t)
Write out all elements in an stl container as a space separated list enclosed in square brackets.
constexpr bool IsHelpedContainerV
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Overload hash function for BasicBlockRange type.
GEM5_DEPRECATED_NAMESPACE(m5, gem5)