Commit 0e8f5db6 authored by Celian Gossec's avatar Celian Gossec
Browse files

Fix: type_info: Info is now default constructible to fit usage of m_info in...

Fix: type_info: Info is now default constructible to fit usage of m_info in any_span cursor (CONCEPT constraints)
parent a4344a17
......@@ -17,6 +17,8 @@ namespace mln::py
class Info
{
public:
Info() = default;
enum type_id
{
INT8_V,
......@@ -44,7 +46,7 @@ namespace mln::py
static constexpr std::size_t max(type_id tid) { return m_max[tid]; }
private:
type_id m_tid;
type_id m_tid = OTHER;
static constexpr std::size_t m_sizeof[] = {
sizeof(std::int8_t), sizeof(std::int16_t), sizeof(std::int32_t), sizeof(std::int64_t),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment