HALDLS
coordinate_to_container.h
Go to the documentation of this file.
1
#pragma once
2
#include <type_traits>
3
4
namespace
haldls::vx::detail
{
5
13
template
<
typename
CoordinateT,
typename
ContainerT>
14
ContainerT
coordinate_to_container
(CoordinateT
const
&)
15
{
16
static_assert(std::is_same_v<typename ContainerT::coordinate_type, CoordinateT>);
17
return
ContainerT();
18
}
19
20
}
// namespace haldls::vx::detail
haldls::vx::detail
Definition:
arq.h:122
haldls::vx::detail::coordinate_to_container
ContainerT coordinate_to_container(CoordinateT const &)
Construct a container instance from a given coordinate.
Definition:
coordinate_to_container.h:14
haldls
include
haldls
vx
coordinate_to_container.h
Generated on Tue Aug 30 2022 01:45:07 for HALDLS by
1.9.1