fork download
  1. #include <iostream>
  2. #include <memory>
  3. #include <vector>
  4.  
  5. int main() {
  6. std::cout << std::is_copy_assignable<std::vector<std::unique_ptr<int>>>::value << std::endl;
  7. return 0;
  8. }
Success #stdin #stdout 0s 4400KB
stdin
Standard input is empty
stdout
1