Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
telemetry
/
fdb06a141c6d9bbf1088fee974b815d1f35d3bcb
/
.
/
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