fork(1) download
  1. #include <type_traits>
  2. #include <iostream>
  3.  
  4. struct A
  5. {
  6. A() = default;
  7. A(const A&) = delete;
  8. };
  9.  
  10. int main()
  11. {
  12. auto b = std::is_copy_constructible<A>::value;
  13. std::cout << "Hello" << b;
  14. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
Hello0