-
Notifications
You must be signed in to change notification settings - Fork 597
Closed
Labels
sdk-cppC/C++ API specificC/C++ API specific💣 crashcrash, deadlock/freeze, do-no-startcrash, deadlock/freeze, do-no-start🪟 windowsProblems specific to the Windows OSProblems specific to the Windows OS🪳 bugSomething isn't workingSomething isn't working
Milestone
Description
Multiple compiler errors like:
C:\re_cwd\third-party\rerun_cpp_sdk\src\rerun\loggable.hpp(18): error C2338: static_assert failed: 'Loggable is not implemented for this type. It is implemented for all built-in datatypes and components. To check ahead of template instantiation whether a type is loggable, use `is_loggable<T>`'
C:\re_cwd\third-party\rerun_cpp_sdk\src\rerun\loggable.hpp(18): note: the template instantiation context (the oldest one first) is
C:\re_cwd\third-party\rerun_cpp_sdk\src\rerun\archetypes\../component_batch.hpp(68): note: see reference to class template instantiation 'rerun::Loggable<T>' being compiled
with
[
T=rerun::Collection<rerun::components::Blob>
]
It seems like function overloading for collection and component is not working as expected on windows:
template <typename T>
static Result<ComponentBatch> from_loggable(
const rerun::Collection<T>& components,
const ComponentDescriptor& descriptor = rerun::Loggable<T>::Descriptor
)
template <typename T>
static Result<ComponentBatch> from_loggable(
const T& component,
const ComponentDescriptor& descriptor = rerun::Loggable<T>::Descriptor
)
Metadata
Metadata
Assignees
Labels
sdk-cppC/C++ API specificC/C++ API specific💣 crashcrash, deadlock/freeze, do-no-startcrash, deadlock/freeze, do-no-start🪟 windowsProblems specific to the Windows OSProblems specific to the Windows OS🪳 bugSomething isn't workingSomething isn't working