boost-ext / te

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

Copying an object containing a poly object does not copy #27

Closed versatran01 closed 3 years ago

versatran01 commented 3 years ago

Expected Behavior

When copying an object containing a poly type as a member, it doesn't get copied by gets moved. Or I'm just stupid and did something wrong that I'm not aware of.

Actual Behavior

Steps to Reproduce the Problem

https://godbolt.org/z/je4Es6vd4