We're updating the issue view to help you get more done. 

Tub not able to hold Object that is not CopyConstrutible or CopyAssignable

Description

In Tub's documentation, it claims that: "Tub is CopyConstructible if and only if ElementType is CopyConstructible, and Tub is Assignable if and only if ElementType is Assignable." However, this is not the case. Tub simply cannot be used to hold ElementType that is not CopyConstructible or CopyAssignable because the copy constructor and the assignment operator in the Tub will fail to be instantiated at compile-time. It basically means that we cannot use Tub to hold any RPC object. One solution would be to avoid instantiating the copy constructor and the assignment operator in the Tub when the ElementType is not CopyConstructible or CopyAssignable.

Environment

None

Status

Assignee

Yilong Li

Reporter

Yilong Li

Labels

None

Priority

Minor