Page MenuHome
Paste P2908

(An Untitled Masterwork)
ActivePublic

Authored by Brecht Van Lommel (brecht) on Apr 25 2022, 2:55 PM.
In file included from /home/brecht/dev/blender/source/blender/blenlib/tests/BLI_any_test.cc:3:
/home/brecht/dev/blender/source/blender/blenlib/BLI_any.hh:56:39: error: no member named 'Ptr' in 'std::unique_ptr<blender::Map<int, int, 4, blender::PythonProbingStrategy<1, false>, blender::DefaultHash<int32_t>, blender::DefaultEquality, blender::SimpleMapSlot<int, int>, blender::GuardedAllocator>, std::default_delete<blender::Map<int, int, 4, blender::PythonProbingStrategy<1, false>, blender::DefaultHash<int32_t>, blender::DefaultEquality, blender::SimpleMapSlot<int, int>, blender::GuardedAllocator> > >'
[](void *src) { ((Ptr<T> *)src)->~Ptr<T>(); },
^
/home/brecht/dev/blender/source/blender/blenlib/BLI_any.hh:137:31: note: in instantiation of variable template specialization 'blender::detail::info_for_unique_ptr<blender::detail::NoExtraInfo, blender::Map<int, int, 4, blender::PythonProbingStrategy<1, false>, blender::DefaultHash<int32_t>, blender::DefaultEquality, blender::SimpleMapSlot<int, int>, blender::GuardedAllocator> >' requested here
return detail::template info_for_unique_ptr<RealExtraInfo, DecayT>;
^
/home/brecht/dev/blender/source/blender/blenlib/BLI_any.hh:243:29: note: in instantiation of function template specialization 'blender::Any<void, 8, 8>::get_info<blender::Map<int, int, 4, blender::PythonProbingStrategy<1, false>, blender::DefaultHash<int32_t>, blender::DefaultEquality, blender::SimpleMapSlot<int, int>, blender::GuardedAllocator> >' requested here
info_ = &this->template get_info<DecayT>();
^
/home/brecht/dev/blender/source/blender/blenlib/BLI_any.hh:168:11: note: in instantiation of function template specialization 'blender::Any<void, 8, 8>::emplace_on_empty<blender::Map<int, int, 4, blender::PythonProbingStrategy<1, false>, blender::DefaultHash<int32_t>, blender::DefaultEquality, blender::SimpleMapSlot<int, int>, blender::GuardedAllocator>, blender::Map<int, int, 4, blender::PythonProbingStrategy<1, false>, blender::DefaultHash<int32_t>, blender::DefaultEquality, blender::SimpleMapSlot<int, int>, blender::GuardedAllocator> >' requested here
this->emplace_on_empty<T>(std::forward<Args>(args)...);
^
/home/brecht/dev/blender/source/blender/blenlib/BLI_any.hh:175:20: note: in instantiation of function template specialization 'blender::Any<void, 8, 8>::Any<blender::Map<int, int, 4, blender::PythonProbingStrategy<1, false>, blender::DefaultHash<int32_t>, blender::DefaultEquality, blender::SimpleMapSlot<int, int>, blender::GuardedAllocator>, blender::Map<int, int, 4, blender::PythonProbingStrategy<1, false>, blender::DefaultHash<int32_t>, blender::DefaultEquality, blender::SimpleMapSlot<int, int>, blender::GuardedAllocator> >' requested here
Any(T &&value) : Any(std::in_place_type<T>, std::forward<T>(value))
^
/home/brecht/dev/blender/source/blender/blenlib/tests/BLI_any_test.cc:43:13: note: in instantiation of function template specialization 'blender::Any<void, 8, 8>::Any<blender::Map<int, int, 4, blender::PythonProbingStrategy<1, false>, blender::DefaultHash<int32_t>, blender::DefaultEquality, blender::SimpleMapSlot<int, int>, blender::GuardedAllocator>, nullptr>' requested here
Any<> a = Map<int, int>();
^
In file included from /home/brecht/dev/blender/source/blender/blenlib/tests/BLI_any_test.cc:3:
/home/brecht/dev/blender/source/blender/blenlib/BLI_any.hh:56:39: error: no member named 'Ptr' in 'std::unique_ptr<blender::Map<int, float, 4, blender::PythonProbingStrategy<1, false>, blender::DefaultHash<int32_t>, blender::DefaultEquality, blender::SimpleMapSlot<int, float>, blender::GuardedAllocator>, std::default_delete<blender::Map<int, float, 4, blender::PythonProbingStrategy<1, false>, blender::DefaultHash<int32_t>, blender::DefaultEquality, blender::SimpleMapSlot<int, float>, blender::GuardedAllocator> > >'
[](void *src) { ((Ptr<T> *)src)->~Ptr<T>(); },
^
/home/brecht/dev/blender/source/blender/blenlib/BLI_any.hh:137:31: note: in instantiation of variable template specialization 'blender::detail::info_for_unique_ptr<blender::detail::NoExtraInfo, blender::Map<int, float, 4, blender::PythonProbingStrategy<1, false>, blender::DefaultHash<int32_t>, blender::DefaultEquality, blender::SimpleMapSlot<int, float>, blender::GuardedAllocator> >' requested here
return detail::template info_for_unique_ptr<RealExtraInfo, DecayT>;
^
/home/brecht/dev/blender/source/blender/blenlib/BLI_any.hh:261:37: note: in instantiation of function template specialization 'blender::Any<void, 8, 8>::get_info<blender::Map<int, float, 4, blender::PythonProbingStrategy<1, false>, blender::DefaultHash<int32_t>, blender::DefaultEquality, blender::SimpleMapSlot<int, float>, blender::GuardedAllocator> >' requested here
return info_ == &this->template get_info<T>();
^
/home/brecht/dev/blender/source/blender/blenlib/tests/BLI_any_test.cc:46:19: note: in instantiation of function template specialization 'blender::Any<void, 8, 8>::is<blender::Map<int, float, 4, blender::PythonProbingStrategy<1, false>, blender::DefaultHash<int32_t>, blender::DefaultEquality, blender::SimpleMapSlot<int, float>, blender::GuardedAllocator> >' requested here
EXPECT_FALSE((a.is<Map<int, float>>()));
^
In file included from /home/brecht/dev/blender/source/blender/blenlib/tests/BLI_any_test.cc:3:
/home/brecht/dev/blender/source/blender/blenlib/BLI_any.hh:56:39: error: no member named 'Ptr' in 'std::unique_ptr<blender::Any<void, 8, 8>, std::default_delete<blender::Any<void, 8, 8> > >'
[](void *src) { ((Ptr<T> *)src)->~Ptr<T>(); },
^
/home/brecht/dev/blender/source/blender/blenlib/BLI_any.hh:137:31: note: in instantiation of variable template specialization 'blender::detail::info_for_unique_ptr<blender::detail::NoExtraInfo, blender::Any<void, 8, 8> >' requested here
return detail::template info_for_unique_ptr<RealExtraInfo, DecayT>;
^
/home/brecht/dev/blender/source/blender/blenlib/BLI_any.hh:243:29: note: in instantiation of function template specialization 'blender::Any<void, 8, 8>::get_info<blender::Any<void, 8, 8> >' requested here
info_ = &this->template get_info<DecayT>();
^
/home/brecht/dev/blender/source/blender/blenlib/BLI_any.hh:168:11: note: in instantiation of function template specialization 'blender::Any<void, 8, 8>::emplace_on_empty<blender::Any<void, 8, 8>, blender::Any<void, 8, 8> &>' requested here
this->emplace_on_empty<T>(std::forward<Args>(args)...);
^
/home/brecht/dev/blender/source/blender/blenlib/tests/BLI_any_test.cc:84:7: note: in instantiation of function template specialization 'blender::Any<void, 8, 8>::Any<blender::Any<void, 8, 8>, blender::Any<void, 8, 8> &>' requested here
z = Any(std::in_place_type<Any<>>, a);
^
3 errors generated.