boost-ext / te

C++17 Run-time Polymorphism (Type Erasure) library
463 stars 39 forks source link

problem with instantiation of templated method, probably detection problem #39

Open eugenca opened 1 year ago

eugenca commented 1 year ago

Actual Behavior

Problem with FManager::PropertyHolder::emplace_back This is templated method used to emplace arbitrary items in implementation`s vector As I see how library does, it is not instantiating things to type_list, mappings, etc - connected with lambda in emplace_back and user types AddToGlobal1_Property, AddToGlobal2_Property. When it compiles, clang hangs on segmentations, GCC works well (UB??)

Steps to Reproduce the Problem

https://godbolt.org/z/Gq5bKbdes

Please take a look, thanks!