How should a user-provided derived copy or move constructor initialize its base subobject?
Show answer and explanation
A compiler-generated derived copy or move constructor applies the corresponding operation to each base and member. Once the derived constructor is user-provided, it must explicitly initialize the base with Base(other) for copying or Base(std::move(other)) for moving; omitting that mem-initializer attempts to default-initialize the base instead of copying or moving it. Members must likewise be handled according to their ownership semantics, and actual initialization order remains virtual bases, direct bases, then members in declaration order regardless of the textual mem-initializer order.
A compiler-generated derived copy or move constructor applies the corresponding operation to each base and member. Once the derived constructor is user-provided, it must explicitly initialize the base with Base(other) for copying or Base(std::move(other)) for moving; omitting that mem-initializer attempts to default-initialize the base instead of copying or moving it. Members must likewise be handled according to their ownership semantics, and actual initialization order remains virtual bases, direct bases, then members in declaration order regardless of the textual mem-initializer order.
Connect the conclusion directly to the type, lifetime, ownership, overload-resolution rule, or library contract present in the question. State implementation dependence or a violated precondition explicitly instead of merely guessing output.