stl_helpers.hh (7455:586f99bf0dc4) stl_helpers.hh (7811:a8fc35183c10)
1/*
2 * Copyright (c) 2010 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 78 unchanged lines hidden (view full) ---

87{
88 out << "[ ";
89 std::for_each(vec.begin(), vec.end(), ContainerPrint<T>(out));
90 out << " ]";
91 out << std::flush;
92 return out;
93}
94
1/*
2 * Copyright (c) 2010 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 78 unchanged lines hidden (view full) ---

87{
88 out << "[ ";
89 std::for_each(vec.begin(), vec.end(), ContainerPrint<T>(out));
90 out << " ]";
91 out << std::flush;
92 return out;
93}
94
95/* namespace stl_helpers */ }
96/* namespace m5 */ }
95} // namespace stl_helpers
96} // namespace m5
97
98#endif // __BASE_STL_HELPERS_HH__
97
98#endif // __BASE_STL_HELPERS_HH__