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