home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:44:27: error: class template argument deduction failed:
44 | matioCpp::Span s{v};
| ^
/home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:44:27: error: no matching function for call to ‘Span(std::vector<int>&)’
In file included from /home/gromualdi/robot-code/yarp-telemetry/src/libYARP_telemetry/src/yarp/telemetry/experimental/Record.h:12,
from /home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:14:
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:558:24: note: candidate: ‘template<class ElementType, long int Extent> Span(matioCpp::Span<ElementType, Extent>::KnownNotNull, matioCpp::Span<ElementType, Extent>::index_type)-> matioCpp::Span<ElementType, Extent>’
558 | MATIOCPP_CONSTEXPR Span(KnownNotNull ptr, index_type count) : storage_(ptr, count) {}
| ^~~~
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:558:24: note: template argument deduction/substitution failed:
/home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:44:27: note: candidate expects 2 arguments, 1 provided
44 | matioCpp::Span s{v};
| ^
In file included from /home/gromualdi/robot-code/yarp-telemetry/src/libYARP_telemetry/src/yarp/telemetry/experimental/Record.h:12,
from /home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:14:
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:424:24: note: candidate: ‘template<class ElementType, long int Extent, class OtherElementType, long int OtherExtent, class> Span(const matioCpp::Span<OtherElementType, OtherExtent>&)-> matioCpp::Span<ElementType, Extent>’
424 | MATIOCPP_CONSTEXPR Span(const Span<OtherElementType, OtherExtent>& other)
| ^~~~
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:424:24: note: template argument deduction/substitution failed:
/home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:44:27: note: ‘std::vector<int>’ is not derived from ‘const matioCpp::Span<OtherElementType, OtherExtent>’
44 | matioCpp::Span s{v};
| ^
In file included from /home/gromualdi/robot-code/yarp-telemetry/src/libYARP_telemetry/src/yarp/telemetry/experimental/Record.h:12,
from /home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:14:
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:416:24: note: candidate: ‘template<class ElementType, long int Extent> Span(const matioCpp::Span<ElementType, Extent>&)-> matioCpp::Span<ElementType, Extent>’
416 | MATIOCPP_CONSTEXPR Span(const Span& other) noexcept = default;
| ^~~~
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:416:24: note: template argument deduction/substitution failed:
/home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:44:27: note: ‘std::vector<int>’ is not derived from ‘const matioCpp::Span<ElementType, Extent>’
44 | matioCpp::Span s{v};
| ^
In file included from /home/gromualdi/robot-code/yarp-telemetry/src/libYARP_telemetry/src/yarp/telemetry/experimental/Record.h:12,
from /home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:14:
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:411:24: note: candidate: ‘template<class ElementType, long int Extent, class Container, class, class> Span(const Container&)-> matioCpp::Span<ElementType, Extent>’
411 | MATIOCPP_CONSTEXPR Span(const Container& cont) : Span(cont.data(), static_cast<index_type>(cont.size()))
| ^~~~
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:411:24: note: template argument deduction/substitution failed:
/home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:44:27: note: couldn’t deduce template parameter ‘ElementType’
44 | matioCpp::Span s{v};
| ^
In file included from /home/gromualdi/robot-code/yarp-telemetry/src/libYARP_telemetry/src/yarp/telemetry/experimental/Record.h:12,
from /home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:14:
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:402:24: note: candidate: ‘template<class ElementType, long int Extent, class Container, class, class> Span(Container&)-> matioCpp::Span<ElementType, Extent>’
402 | MATIOCPP_CONSTEXPR Span(Container& cont) : Span(cont.data(), static_cast<index_type>(cont.size()))
| ^~~~
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:402:24: note: template argument deduction/substitution failed:
/home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:44:27: note: couldn’t deduce template parameter ‘ElementType’
44 | matioCpp::Span s{v};
| ^
In file included from /home/gromualdi/robot-code/yarp-telemetry/src/libYARP_telemetry/src/yarp/telemetry/experimental/Record.h:12,
from /home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:14:
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:389:24: note: candidate: ‘template<class ElementType, long int Extent, long unsigned int N> Span(const std::array<typename std::remove_const<_Tp>::type, N>&)-> matioCpp::Span<ElementType, Extent>’
389 | MATIOCPP_CONSTEXPR Span(const std::array<std::remove_const_t<element_type>, N>& arr) noexcept
| ^~~~
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:389:24: note: template argument deduction/substitution failed:
/home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:44:27: note: ‘std::vector<int>’ is not derived from ‘const std::array<typename std::remove_const<_Tp>::type, N>’
44 | matioCpp::Span s{v};
| ^
In file included from /home/gromualdi/robot-code/yarp-telemetry/src/libYARP_telemetry/src/yarp/telemetry/experimental/Record.h:12,
from /home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:14:
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:383:24: note: candidate: ‘template<class ElementType, long int Extent, long unsigned int N, class ArrayElementType> Span(std::array<ArrayElementType, N>&)-> matioCpp::Span<ElementType, Extent>’
383 | MATIOCPP_CONSTEXPR Span(std::array<ArrayElementType, N>& arr) noexcept
| ^~~~
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:383:24: note: template argument deduction/substitution failed:
/home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:44:27: note: ‘std::vector<int>’ is not derived from ‘std::array<ArrayElementType, N>’
44 | matioCpp::Span s{v};
| ^
In file included from /home/gromualdi/robot-code/yarp-telemetry/src/libYARP_telemetry/src/yarp/telemetry/experimental/Record.h:12,
from /home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:14:
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:377:24: note: candidate: ‘template<class ElementType, long int Extent, long unsigned int N> Span(ElementType (&)[N])-> matioCpp::Span<ElementType, Extent>’
377 | MATIOCPP_CONSTEXPR Span(element_type (&arr)[N]) noexcept
| ^~~~
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:377:24: note: template argument deduction/substitution failed:
/home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:44:27: note: mismatched types ‘ElementType [N]’ and ‘std::vector<int>’
44 | matioCpp::Span s{v};
| ^
In file included from /home/gromualdi/robot-code/yarp-telemetry/src/libYARP_telemetry/src/yarp/telemetry/experimental/Record.h:12,
from /home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:14:
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:371:24: note: candidate: ‘template<class ElementType, long int Extent> Span(matioCpp::Span<ElementType, Extent>::pointer, matioCpp::Span<ElementType, Extent>::pointer)-> matioCpp::Span<ElementType, Extent>’
371 | MATIOCPP_CONSTEXPR Span(pointer firstElem, pointer lastElem)
| ^~~~
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:371:24: note: template argument deduction/substitution failed:
/home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:44:27: note: mismatched types ‘matioCpp::Span<ElementType, Extent>::element_type*’ and ‘std::vector<int>’
44 | matioCpp::Span s{v};
| ^
In file included from /home/gromualdi/robot-code/yarp-telemetry/src/libYARP_telemetry/src/yarp/telemetry/experimental/Record.h:12,
from /home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:14:
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:369:24: note: candidate: ‘template<class ElementType, long int Extent> Span(matioCpp::Span<ElementType, Extent>::pointer, matioCpp::Span<ElementType, Extent>::index_type)-> matioCpp::Span<ElementType, Extent>’
369 | MATIOCPP_CONSTEXPR Span(pointer ptr, index_type count) : storage_(ptr, count) {}
| ^~~~
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:369:24: note: template argument deduction/substitution failed:
/home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:44:27: note: mismatched types ‘matioCpp::Span<ElementType, Extent>::element_type*’ and ‘std::vector<int>’
44 | matioCpp::Span s{v};
| ^
In file included from /home/gromualdi/robot-code/yarp-telemetry/src/libYARP_telemetry/src/yarp/telemetry/experimental/Record.h:12,
from /home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:14:
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:364:24: note: candidate: ‘template<class ElementType, long int Extent, bool Dependent, class> Span()-> matioCpp::Span<ElementType, Extent>’
364 | MATIOCPP_CONSTEXPR Span() noexcept : storage_(nullptr, details::extent_type<0>())
| ^~~~
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:364:24: note: template argument deduction/substitution failed:
/home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:44:27: note: candidate expects 0 arguments, 1 provided
44 | matioCpp::Span s{v};
| ^
In file included from /home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/Span.h:30,
from /home/gromualdi/robot-code/yarp-telemetry/src/libYARP_telemetry/src/yarp/telemetry/experimental/Record.h:12,
from /home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:14:
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/ForwardDeclarations.h:176:7: note: candidate: ‘template<class ElementType, long int Extent> Span(matioCpp::Span<ElementType, Extent>)-> matioCpp::Span<ElementType, Extent>’
176 | class Span;
| ^~~~
/home/gromualdi/robot-code/robotology-superbuild/build/install/include/matioCpp/ForwardDeclarations.h:176:7: note: template argument deduction/substitution failed:
/home/gromualdi/robot-code/yarp-telemetry/src/examples/circular_buffer_record_example.cpp:44:27: note: ‘std::vector<int>’ is not derived from ‘matioCpp::Span<ElementType, Extent>’
44 | matioCpp::Span s{v};