Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
telemetry
/
162b97614fc2d4780c434af4a3b4335b072a3b23
/
.
/
tests
/
src
/
utils
/
conv_container.hpp
blob: fb9b123a330cbbc33b8e27adb3761c61ac6119dc [
file
] [
log
] [
blame
]
#pragma
once
#include
"utils/transform.hpp"
namespace
utils
{
template
<
class
R
,
class
Container
>
auto
convContainer
(
const
Container
&
container
)
{
return
transform
(
container
,
[](
const
auto
&
item
)
->
R
{
return
item
;
});
}
}
// namespace utils